story

story1

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği yüklemek için Tampermonkey gibi bir uzantı yüklemeniz gerekir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği indirebilmeniz için ayrıca Tampermonkey gibi bir eklenti kurmanız gerekmektedir.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

Bu stili yüklemek için Stylus gibi bir uzantı yüklemeniz gerekir.

Bu stili yüklemek için Stylus gibi bir uzantı kurmanız gerekir.

Bu stili yükleyebilmek için Stylus gibi bir uzantı yüklemeniz gerekir.

Bu stili yüklemek için bir kullanıcı stili yöneticisi uzantısı yüklemeniz gerekir.

Bu stili yüklemek için bir kullanıcı stili yöneticisi uzantısı kurmanız gerekir.

Bu stili yükleyebilmek için bir kullanıcı stili yöneticisi uzantısı yüklemeniz gerekir.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name         story
// @namespace    http://tampermonkey.net/
// @version      2.0
// @description  story1
// @author       kl
// @match        https://faucet.story.foundation/*
// @icon         https://www.google.com/s2/favicons?domain=google.com
// @require      https://cdn.jsdelivr.net/npm/[email protected]/jquery.min.js
// @require      https://cdn.jsdelivr.net/npm/[email protected]/index.min.js
// @require      https://cdn.jsdelivr.net/npm/[email protected]/unibabel/index.js
// @require      https://cdn.jsdelivr.net/npm/[email protected]/unibabel/unibabel.hex.js
// @require      https://cdn.jsdelivr.net/npm/[email protected]/unibabel/unibabel.base32.js
// @require      https://cdn.jsdelivr.net/npm/[email protected]/forge/dist/forge.min.js
// @require      https://cdn.jsdelivr.net/npm/[email protected]/botp/sha1-hmac.js
// @require      https://cdn.jsdelivr.net/npm/[email protected]/botp/index.js
// @require      https://cdn.jsdelivr.net/npm/[email protected]/authenticator.js
// @grant        GM_xmlhttpRequest
// @connect      weleader5.oss-cn-shenzhen.aliyuncs.com
// @connect      43.135.155.29
// @connect      localhost
// @connect      2captcha.com
// @connect      airdropapi.beetaa.cn
// @grant        unsafeWindow
// @grant        GM_addStyle
// @grant        GM_deleteValue
// @grant        GM_listValues
// @grant        GM_addValueChangeListener
// @grant        GM_removeValueChangeListener
// @grant        GM_setValue
// @grant        GM_getValue
// @grant        GM_log
// @grant        GM_getResourceText
// @grant        GM_getResourceURL
// @grant        GM_registerMenuCommand
// @grant        GM_unregisterMenuCommand
// @grant        GM_openInTab
// @grant        GM_xmlhttpRequest
// @grant        GM_download
// @grant        GM_getTab
// @grant        GM_saveTab
// @grant        GM_getTabs
// @grant        GM_notification
// @grant        GM_setClipboard
// @grant        GM_info
// @license		 kl1
// ==/UserScript==
 
(function () {
    'use strict';
    $(function () {
        pageOperate();
    })
    function pageOperate() {
        var pageurl = window.location.href.split('//')[1].split('?')[0];
        console.info(pageurl)
        if (pageurl.indexOf("https://faucet.story.foundation/") > -1) {
            pageurl = "faucet.story.foundation"
        }
 
        switch (pageurl) {
            case 'faucet.story.foundation/':
            case 'faucet.story.foundation':
                var findinalstr = setInterval(function () {
                    if ( $('#address').length >0) {  
                        clearInterval(findinalstr);
                        GM_xmlhttpRequest({
                            url: "http://43.135.155.29:9291/api/KT_Address/Get",
                            method: "GET",
                            data: "",
                            headers: {
                                "Content-type": "application/x-www-form-urlencoded"
                            },
                            onload: function (xhr) {
                                if (xhr.status == 200) {
                                    var data = JSON.parse(xhr.responseText); 
                                    if (data.response != null) {
                                        $("input[id='address']").attr("value", data.response.Wallet); 
                                        return;
 
                                    }
 
                                }
 
                            }
                        })
                    }
 
                }, 15000);
                break; 
        }
    }
})();