avatar
Untitled

Guest 2.2K 4th Mar, 2019

TypeScript 0.92 KB
// ==UserScript==
// @name         Auto Add Token Scan Comment - Data Bird
// @namespace    https://databird.xyz/
// @version      0.1
// @description  Tu Dong Them Token Vao Data Scan Comment
// @author       ChenJi Nguyen
// @match        http://data.daodivine.com/scancomment.html
// @grant        none
// @icon        https://databird.xyz/assets/images/favicon.png
// ==/UserScript==

(function() {
/** Thêm Token vào Dòng Dưới --->Access_Token */
    var token = "Access_Token";
    var x = DOMElementName("input","token");
    x.value = token;

})();
    function DOMElementName(name,value){
        var scan_element = document.getElementsByTagName(name);
        for (let e of scan_element) {
            if(e.getAttribute("name") === value){
                return e;
            }
        }
        return 0;
    }
TypeScript
Description

No description

To share this paste please copy this url and send to your friends
RAW Paste Data