您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Progress module for KameSame Open Framework
当前为
此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.greasyfork.icu/scripts/451523/1101976/KameSame%20Open%20Framework%20-%20Jquery%20module.js
"use strict"; // ==UserScript== // @name KameSame Open Framework - Jquery module // @namespace timberpile // @description Progress module for KameSame Open Framework // @version 1.0 // @copyright 2022+, Robin Findley, Timberpile // @license MIT; http://opensource.org/licenses/MIT // ==/UserScript== // These lines are necessary to make sure that TSC does not put any exports in the // compiled js, which causes the script to crash // eslint-disable-next-line no-var, @typescript-eslint/no-unused-vars var module = {}; (async (global) => { console.log(1); const ksof = global.ksof; console.log(2); await ksof.ready('document'); console.log(3); try { console.log(4); $.fn.jquery; console.log(5); } catch (e) { console.log(6); await ksof.load_script(ksof.support_files['jquery.js'], false /* cache */); } console.log(7); ksof.Jquery = { version: $.fn.jquery }; console.log(8); // Notify listeners that we are ready. // Delay guarantees include() callbacks are called before ready() callbacks. setTimeout(() => { ksof.set_state('ksof.Jquery', 'ready'); console.log(10); }, 0); console.log(9); })(window); module.exports = null;