diff --git a/code-payload.js b/code-payload.js
index e578a2f..317d435 100644
--- a/code-payload.js
+++ b/code-payload.js
@@ -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) {
'' +
'' +
'' +
- '' +
+ '' +
'' +
- '' +
+ '' +
+ '' +
'' +
'' +
'' +
@@ -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) {
'' +
'' +
'' +
- '' +
+ '' +
'' +
- '' +
+ '' +
+ '' +
'' +
'' +
'' +
@@ -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);