您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
A modular, secure, and extensible script executor for Territorial.io.
// ==UserScript== // @name TriX Executor // @namespace https://github.com/YourUsername/TriX-Executor // @version 3.4.2 // @description A modular, secure, and extensible script executor for Territorial.io. // @author You // @match *://territorial.io/* // @match *://www.territorial.io/* // @match *://*.*.*.*/* // @icon https://i.postimg.cc/0NkRZxDm/image.png // @grant GM_addStyle // @grant GM_setValue // @grant GM_getValue // @grant GM_listValues // @grant GM_deleteValue // @grant GM_addValueChangeListener // @grant GM.xmlHttpRequest // @require https://cdn.jsdelivr.net/npm/[email protected]/dist/html2canvas.min.js // @require https://gf.qytechs.cn/scripts/542307-trix-verification-library/code/TriX%20Verification%20Library.js // @require https://gf.qytechs.cn/scripts/541461-trix-core-library/code/TriX%20Core%20Library.js // @require https://gf.qytechs.cn/scripts/541462-trix-ui-library/code/TriX%20UI%20Library.js // @require https://gf.qytechs.cn/scripts/542296-trix-addons-library/code/TriX%20Addons%20Library.js // @require https://gf.qytechs.cn/scripts/542306-trix-python-runner-library/code/TriX%20Python%20Runner%20Library.js // @run-at document-start // @license MIT // ==/UserScript== (function() { 'use strict'; function isTerritorialPage(){if(window.location.hostname.includes('territorial.io'))return!0;try{const e=new URLSearchParams(window.location.search).get('__cpo');if(e&&atob(e).includes('territorial.io'))return!0}catch(e){}return!1} if(!isTerritorialPage()){return} function waitForElement(e,t){if(document.querySelector(e))return void t();const o=new MutationObserver((c,r)=>{document.querySelector(e)&&(r.disconnect(),t())});o.observe(document.documentElement,{childList:!0,subtree:!0})} // --- Pass GM functions to the verification library --- const gmFunctions = { GM_addStyle, GM_setValue, GM_getValue, GM_addValueChangeListener, 'GM.xmlHttpRequest': GM.xmlHttpRequest, GM_listValues, GM_deleteValue }; console.log('[TriX Loader] Page verified. Handing off to verification system...'); waitForElement("#input0", () => TriX_Verification.run(gmFunctions)); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址