kalpdev.1 / Language Setup

// ==UserScript==
// @name Language Setup
// @namespace kalpsdj
// @description SOP part for Language setup
// @version 2.4
// @include https://argus.aka.amazon.com/*
// @require https://images-na.ssl-images-amazon.com/images/G/01/javascripts/lib/jquery/jquery-1.8.2.min.js
// @grant GM_setValue
// @licence MIT
// @grant GM_getValue
// ==/UserScript==

$("body").append(`
<div id="guide">
<style>
div#guide {
    padding: 4px;
    font-weight: bold;
    font-size: small;
    width: 170px;
    height: 28px;
    bottom: 25px;
    background-color: rgba(236, 199, 199, 0.12);
    color: red;
    border-radius: 8px;
    position: fixed;
    bottom: 15%;
    right: 46%;
    z-index: 10000;
    text-align: center;
    margin-top: 40px;
    box-shadow: 4px 4px 8px #00796b;
}
</style>
<button onclick="openWin()" id="show">Click Here (SOP step for DPI Setup)</button>
<button onclick="closeWin()" id="hide">Close</button>

<script>
var myWindow, myWindows, myWindowss, myWindowsss, myWindowssss, myWindowsssss, myWindowssssss, myWindowsssssss, myWindowssssssss;
var myWindowsssssssss, myWindowssssssssss, myWindowsssssssssss, myWindowssssssssssss, myWindowsssssssssssss, myWindowssssssssssssss, myWindowsssssssssssssss, myWindowssssssssssssssss, myWindowsssssssssssssssx;

function openWin() {
    $('#show').hide();
    myWindow = window.open("https://amzn.to/48pcOaY", "_blank", "width=20, height=20");
    myWindows = window.open("https://amzn.to/4f7FSGz", "_blank", "width=20, height=20");
    myWindowss = window.open("https://www.amazon.com.mx/", "_blank", "width=20, height=20");
    myWindowsss = window.open("https://amzn.to/4e8pqVf", "_blank", "width=20, height=20");
    myWindowssss = window.open("https://amzn.to/4hnKHNo", "_blank", "width=20, height=20");
    myWindowsssss = window.open("https://www.amazon.fr/?language=fr_FR", "_blank", "width=20, height=20");
    myWindowssssss = window.open("https://www.amazon.com.tr/", "_blank", "width=20, height=20");
    myWindowsssssss = window.open("https://amzn.to/3YHYirQ", "_blank", "width=20, height=20");
    myWindowssssssss = window.open("https://www.amazon.es/?language=es_ES", "_blank", "width=20, height=20");
    myWindowsssssssss = window.open("https://amzn.to/3NH7CG7", "_blank", "width=20, height=20");
    myWindowssssssssss = window.open("https://www.amazon.ae/?language=ar_AE", "_blank", "width=20, height=20");
    myWindowsssssssssss = window.open("https://www.amazon.sa/", "_blank", "width=20, height=20");
    myWindowssssssssssss = window.open("https://www.amazon.eg/", "_blank", "width=20, height=20");
    myWindowsssssssssssss = window.open("https://amzn.to/3C6smEz", "_blank", "width=20, height=20");
    myWindowssssssssssssss = window.open("https://www.amazon.co.jp/?language=ja_JP&currency=JPY", "_blank", "width=20, height=20");
    myWindowsssssssssssssss = window.open("https://www.amazon.com.au/?currency=AUD", "_blank", "width=20, height=20");
    myWindowssssssssssssssss = window.open("https://www.amazon.sg/?currency=SGD", "_blank", "width=20, height=20");
    myWindowsssssssssssssssx = window.open("https://www.amazon.com.br/", "_blank", "width=20, height=20");
    myWindowsssssssssssssssy = window.open("https://www.amazon.pl/", "_blank", "width=20, height=20");
    myWindowsssssssssssssssz = window.open("https://www.amazon.com.be/?language=fr_BE", "_blank", "width=20, height=20");
    myWindowssssssssssssssst = window.open("https://www.amazon.co.za/", "_blank", "width=20, height=20");
    myWindowsssssssssssssssu = window.open("https://www.amazon.se/?language=sv_SE", "_blank", "width=20, height=20");
    myWindowsssssssssssssssuu = window.open("https://www.amazon.in/?language=hi_IN", "_blank", "width=20, height=20");
    myWindowsssssssssssssssuuu = window.open("https://www.amazon.de/?language=de_DE/?tag=kalpdev03-21", "_blank", "width=20, height=20");
    myWindowsssssssssssssssuuuu = window.open("https://www.amazon.nl/?language=nl_NL/?tag=kalpdev09-20", "_blank", "width=20, height=20");
    myWindowsssssssssssssssuuuuu = window.open("https://www.amazon.it/?language=it_IT/?tag=kalpdev0e6-21", "_blank", "width=20, height=20");
    var messageWindow = window.open("", "MsgWindow", "width=130, height=100");
    messageWindow.document.write("<p>All marketplace Set as SOP. Click Close</p>");
}

function closeWin() {
    $('#hide').hide();
    $('#guide').hide();
    myWindow.close();
    myWindows.close();
    myWindowss.close();
    myWindowsss.close();
    myWindowssss.close();
    myWindowsssss.close();
    myWindowssssss.close();
    myWindowsssssss.close();
    myWindowssssssss.close();
    myWindowsssssssss.close();
    myWindowssssssssss.close();
    myWindowsssssssssss.close();
    myWindowssssssssssss.close();
    myWindowsssssssssssss.close();
    myWindowssssssssssssss.close();
    myWindowsssssssssssssss.close();
    myWindowssssssssssssssss.close();
    myWindowsssssssssssssssx.close();
    myWindowsssssssssssssssy.close();
    myWindowsssssssssssssssz.close();
    myWindowssssssssssssssst.close();
    myWindowsssssssssssssssu.close();
    myWindowsssssssssssssssuu.close();
    myWindowsssssssssssssssuuu.close();
    myWindowsssssssssssssssuuuu.close();
    myWindowsssssssssssssssuuuuu.close();
}

</script>
</div>
`);