Get the id

just give me the fucking ID

Verze ze dne 18. 06. 2017. Zobrazit nejnovější verzi.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name         Get the id
// @version      1.2.1
// @description  just give me the fucking ID
// @author       NDM
// @include      https://lol.moa.tw/summoner/show/*

// @exclude      http://lol.moa.tw/

// @grant        unsafeWindow
// @namespace https://greasyfork.org/users/133598
// ==/UserScript==
 
(function() {
            console.log(MoaObj.lol.acctId);
            var NDMid = document.createElement("p");
            NDMid.style.fontSize="40px";
            NDMid.innerHTML= ": "+MoaObj.lol.acctId;
            document.getElementById("content-body").appendChild(NDMid);
        })();