switzerlandwest work
This commit is contained in:
parent
673a3600f8
commit
cb6287dea4
|
|
@ -6,7 +6,7 @@
|
||||||
// @require http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.1/jquery-ui.min.js
|
// @require http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.1/jquery-ui.min.js
|
||||||
// @grant GM_addStyle
|
// @grant GM_addStyle
|
||||||
// @grant GM_setClipboard
|
// @grant GM_setClipboard
|
||||||
// @version 0.0.1
|
// @version 0.0.6
|
||||||
// ==/UserScript==
|
// ==/UserScript==
|
||||||
|
|
||||||
// draw frame
|
// draw frame
|
||||||
|
|
@ -89,6 +89,7 @@ if (window.location.href.indexOf("5d49ec10226b9e13cb6a422e") > -1) {
|
||||||
"southeastasia",
|
"southeastasia",
|
||||||
"southindia",
|
"southindia",
|
||||||
"switzerlandnorth",
|
"switzerlandnorth",
|
||||||
|
"switzerlandwest",
|
||||||
"uaenorth",
|
"uaenorth",
|
||||||
"uksouth",
|
"uksouth",
|
||||||
"ukwest",
|
"ukwest",
|
||||||
|
|
@ -169,6 +170,10 @@ if (window.location.href.indexOf("5d49ec10226b9e13cb6a422e") > -1) {
|
||||||
toggleRegion("switzerlandnorth");
|
toggleRegion("switzerlandnorth");
|
||||||
toggleButtonColor("switzerlandnorthButton");
|
toggleButtonColor("switzerlandnorthButton");
|
||||||
};
|
};
|
||||||
|
function switzerlandwestButtonClickAction(zEvent) {
|
||||||
|
toggleRegion("switzerlandwest");
|
||||||
|
toggleButtonColor("switzerlandwestButton");
|
||||||
|
};
|
||||||
function norwayeastButtonClickAction(zEvent) {
|
function norwayeastButtonClickAction(zEvent) {
|
||||||
toggleRegion("norwayeast");
|
toggleRegion("norwayeast");
|
||||||
toggleButtonColor("norwayeastButton");
|
toggleButtonColor("norwayeastButton");
|
||||||
|
|
@ -336,6 +341,7 @@ if (window.location.href.indexOf("5d49ec10226b9e13cb6a422e") > -1) {
|
||||||
toggleRegion("southindia");
|
toggleRegion("southindia");
|
||||||
toggleRegion("westindia");
|
toggleRegion("westindia");
|
||||||
toggleRegion("switzerlandnorth");
|
toggleRegion("switzerlandnorth");
|
||||||
|
toggleRegion("switzerlandwest")
|
||||||
toggleRegion("norwayeast");
|
toggleRegion("norwayeast");
|
||||||
toggleRegion("germanywestcentral")
|
toggleRegion("germanywestcentral")
|
||||||
toggleButtonColor("stage1Button");
|
toggleButtonColor("stage1Button");
|
||||||
|
|
@ -430,9 +436,10 @@ if (window.location.href.indexOf("5d49ec10226b9e13cb6a422e") > -1) {
|
||||||
'<button id="westindiaButton" style="width:156px" type="button">West India</button>' +
|
'<button id="westindiaButton" style="width:156px" type="button">West India</button>' +
|
||||||
'</br>' +
|
'</br>' +
|
||||||
'<button id="switzerlandnorthButton" style="width:234px" type="button">Switzerland North</button>' +
|
'<button id="switzerlandnorthButton" style="width:234px" type="button">Switzerland North</button>' +
|
||||||
'<button id="norwayeastButton" style="width:234px" type="button">Norway East</button>' +
|
'<button id="switzerlandwestButton" style="width:234px" type="button">Switzerland West</button>' +
|
||||||
'</br>' +
|
'</br>' +
|
||||||
'<button id="germanywestcentralButton" style="width:468px" type="button">Germany West Central</button>' +
|
'<button id="norwayeastButton" style="width:234px" type="button">Norway East</button>' +
|
||||||
|
'<button id="germanywestcentralButton" style="width:234" type="button">Germany West Central</button>' +
|
||||||
'</br></br>' +
|
'</br></br>' +
|
||||||
'<button id="westusButton" style="width:156px" type="button">West US</button>' +
|
'<button id="westusButton" style="width:156px" type="button">West US</button>' +
|
||||||
'<button id="westus2Button" style="width:156px" type="button">West US 2</button>' +
|
'<button id="westus2Button" style="width:156px" type="button">West US 2</button>' +
|
||||||
|
|
@ -507,6 +514,7 @@ if (window.location.href.indexOf("5d49ec10226b9e13cb6a422e") > -1) {
|
||||||
"southeastasia",
|
"southeastasia",
|
||||||
"southindia",
|
"southindia",
|
||||||
"switzerlandnorth",
|
"switzerlandnorth",
|
||||||
|
"switzerlandwest",
|
||||||
"uaenorth",
|
"uaenorth",
|
||||||
"uksouth",
|
"uksouth",
|
||||||
"ukwest",
|
"ukwest",
|
||||||
|
|
@ -527,6 +535,7 @@ if (window.location.href.indexOf("5d49ec10226b9e13cb6a422e") > -1) {
|
||||||
document.getElementById("southindiaButton").addEventListener("click", southindiaButtonClickAction, false);
|
document.getElementById("southindiaButton").addEventListener("click", southindiaButtonClickAction, false);
|
||||||
document.getElementById("westindiaButton").addEventListener("click", westindiaButtonClickAction, false);
|
document.getElementById("westindiaButton").addEventListener("click", westindiaButtonClickAction, false);
|
||||||
document.getElementById("switzerlandnorthButton").addEventListener("click", switzerlandnorthButtonClickAction, false);
|
document.getElementById("switzerlandnorthButton").addEventListener("click", switzerlandnorthButtonClickAction, false);
|
||||||
|
document.getElementById("switzerlandwestButton").addEventListener("click", switzerlandwestButtonClickAction, false);
|
||||||
document.getElementById("norwayeastButton").addEventListener("click", norwayeastButtonClickAction, false);
|
document.getElementById("norwayeastButton").addEventListener("click", norwayeastButtonClickAction, false);
|
||||||
document.getElementById("germanywestcentralButton").addEventListener("click", germanywestcentralButtonClickAction, false);
|
document.getElementById("germanywestcentralButton").addEventListener("click", germanywestcentralButtonClickAction, false);
|
||||||
document.getElementById("westusButton").addEventListener("click", westusButtonClickAction, false);
|
document.getElementById("westusButton").addEventListener("click", westusButtonClickAction, false);
|
||||||
|
|
@ -587,9 +596,10 @@ if (window.location.href.indexOf("5d49ec10226b9e13cb6a422e") > -1) {
|
||||||
'<button id="centralindiaButton" style="width:234px" type="button">Central India</button>' +
|
'<button id="centralindiaButton" style="width:234px" type="button">Central India</button>' +
|
||||||
'</br>' +
|
'</br>' +
|
||||||
'<button id="switzerlandnorthButton" style="width:234px" type="button">Switzerland North</button>' +
|
'<button id="switzerlandnorthButton" style="width:234px" type="button">Switzerland North</button>' +
|
||||||
'<button id="norwayeastButton" style="width:234px" type="button">Norway East</button>' +
|
'<button id="switzerlandwestButton" style="width:234px" type="button">Switzerland West</button>' +
|
||||||
'</br>' +
|
'</br>' +
|
||||||
'<button id="germanywestcentralButton" style="width:468px" type="button">Germany West Central</button>' +
|
'<button id="norwayeastButton" style="width:234px" type="button">Norway East</button>' +
|
||||||
|
'<button id="germanywestcentralButton" style="width:234px" type="button">Germany West Central</button>' +
|
||||||
'</br></br>' +
|
'</br></br>' +
|
||||||
'<button id="westusButton" style="width:468px" type="button">West US</button>' +
|
'<button id="westusButton" style="width:468px" type="button">West US</button>' +
|
||||||
'</br></br>' +
|
'</br></br>' +
|
||||||
|
|
@ -636,6 +646,7 @@ if (window.location.href.indexOf("5d49ec10226b9e13cb6a422e") > -1) {
|
||||||
"southafricanorth",
|
"southafricanorth",
|
||||||
"southeastasia",
|
"southeastasia",
|
||||||
"switzerlandnorth",
|
"switzerlandnorth",
|
||||||
|
"switzerlandwest",
|
||||||
"uaenorth",
|
"uaenorth",
|
||||||
"ukwest",
|
"ukwest",
|
||||||
"usgovarizona",
|
"usgovarizona",
|
||||||
|
|
@ -650,6 +661,7 @@ if (window.location.href.indexOf("5d49ec10226b9e13cb6a422e") > -1) {
|
||||||
// regional listeners
|
// regional listeners
|
||||||
document.getElementById("canadacentralButton").addEventListener("click", canadacentralCPButtonClickAction, false);
|
document.getElementById("canadacentralButton").addEventListener("click", canadacentralCPButtonClickAction, false);
|
||||||
document.getElementById("switzerlandnorthButton").addEventListener("click", switzerlandnorthButtonClickAction, false);
|
document.getElementById("switzerlandnorthButton").addEventListener("click", switzerlandnorthButtonClickAction, false);
|
||||||
|
document.getElementById("switzerlandwestButton").addEventListener("click", switzerlandwestButtonClickAction, false);
|
||||||
document.getElementById("centralindiaButton").addEventListener("click", centralindiaCPButtonClickAction, false);
|
document.getElementById("centralindiaButton").addEventListener("click", centralindiaCPButtonClickAction, false);
|
||||||
document.getElementById("norwayeastButton").addEventListener("click", norwayeastButtonClickAction, false);
|
document.getElementById("norwayeastButton").addEventListener("click", norwayeastButtonClickAction, false);
|
||||||
document.getElementById("germanywestcentralButton").addEventListener("click", germanywestcentralButtonClickAction, false);
|
document.getElementById("germanywestcentralButton").addEventListener("click", germanywestcentralButtonClickAction, false);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue