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
|
||||
// @grant GM_addStyle
|
||||
// @grant GM_setClipboard
|
||||
// @version 0.0.1
|
||||
// @version 0.0.6
|
||||
// ==/UserScript==
|
||||
|
||||
// draw frame
|
||||
|
|
@ -89,6 +89,7 @@ if (window.location.href.indexOf("5d49ec10226b9e13cb6a422e") > -1) {
|
|||
"southeastasia",
|
||||
"southindia",
|
||||
"switzerlandnorth",
|
||||
"switzerlandwest",
|
||||
"uaenorth",
|
||||
"uksouth",
|
||||
"ukwest",
|
||||
|
|
@ -169,6 +170,10 @@ if (window.location.href.indexOf("5d49ec10226b9e13cb6a422e") > -1) {
|
|||
toggleRegion("switzerlandnorth");
|
||||
toggleButtonColor("switzerlandnorthButton");
|
||||
};
|
||||
function switzerlandwestButtonClickAction(zEvent) {
|
||||
toggleRegion("switzerlandwest");
|
||||
toggleButtonColor("switzerlandwestButton");
|
||||
};
|
||||
function norwayeastButtonClickAction(zEvent) {
|
||||
toggleRegion("norwayeast");
|
||||
toggleButtonColor("norwayeastButton");
|
||||
|
|
@ -336,6 +341,7 @@ if (window.location.href.indexOf("5d49ec10226b9e13cb6a422e") > -1) {
|
|||
toggleRegion("southindia");
|
||||
toggleRegion("westindia");
|
||||
toggleRegion("switzerlandnorth");
|
||||
toggleRegion("switzerlandwest")
|
||||
toggleRegion("norwayeast");
|
||||
toggleRegion("germanywestcentral")
|
||||
toggleButtonColor("stage1Button");
|
||||
|
|
@ -430,9 +436,10 @@ if (window.location.href.indexOf("5d49ec10226b9e13cb6a422e") > -1) {
|
|||
'<button id="westindiaButton" style="width:156px" type="button">West India</button>' +
|
||||
'</br>' +
|
||||
'<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>' +
|
||||
'<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>' +
|
||||
'<button id="westusButton" style="width:156px" type="button">West US</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",
|
||||
"southindia",
|
||||
"switzerlandnorth",
|
||||
"switzerlandwest",
|
||||
"uaenorth",
|
||||
"uksouth",
|
||||
"ukwest",
|
||||
|
|
@ -527,6 +535,7 @@ if (window.location.href.indexOf("5d49ec10226b9e13cb6a422e") > -1) {
|
|||
document.getElementById("southindiaButton").addEventListener("click", southindiaButtonClickAction, false);
|
||||
document.getElementById("westindiaButton").addEventListener("click", westindiaButtonClickAction, false);
|
||||
document.getElementById("switzerlandnorthButton").addEventListener("click", switzerlandnorthButtonClickAction, false);
|
||||
document.getElementById("switzerlandwestButton").addEventListener("click", switzerlandwestButtonClickAction, false);
|
||||
document.getElementById("norwayeastButton").addEventListener("click", norwayeastButtonClickAction, false);
|
||||
document.getElementById("germanywestcentralButton").addEventListener("click", germanywestcentralButtonClickAction, 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>' +
|
||||
'</br>' +
|
||||
'<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>' +
|
||||
'<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>' +
|
||||
'<button id="westusButton" style="width:468px" type="button">West US</button>' +
|
||||
'</br></br>' +
|
||||
|
|
@ -636,6 +646,7 @@ if (window.location.href.indexOf("5d49ec10226b9e13cb6a422e") > -1) {
|
|||
"southafricanorth",
|
||||
"southeastasia",
|
||||
"switzerlandnorth",
|
||||
"switzerlandwest",
|
||||
"uaenorth",
|
||||
"ukwest",
|
||||
"usgovarizona",
|
||||
|
|
@ -650,6 +661,7 @@ if (window.location.href.indexOf("5d49ec10226b9e13cb6a422e") > -1) {
|
|||
// regional listeners
|
||||
document.getElementById("canadacentralButton").addEventListener("click", canadacentralCPButtonClickAction, false);
|
||||
document.getElementById("switzerlandnorthButton").addEventListener("click", switzerlandnorthButtonClickAction, false);
|
||||
document.getElementById("switzerlandwestButton").addEventListener("click", switzerlandwestButtonClickAction, false);
|
||||
document.getElementById("centralindiaButton").addEventListener("click", centralindiaCPButtonClickAction, false);
|
||||
document.getElementById("norwayeastButton").addEventListener("click", norwayeastButtonClickAction, false);
|
||||
document.getElementById("germanywestcentralButton").addEventListener("click", germanywestcentralButtonClickAction, false);
|
||||
|
|
|
|||
Loading…
Reference in New Issue