您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Progress module for KameSame Open Framework
当前为
此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.cn-greasyfork.org/scripts/451523/1101991/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 0.1
- // @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) => {
- const ksof = global.ksof;
- await ksof.ready('document');
- try {
- $.fn.jquery;
- }
- catch (e) {
- await ksof.load_script(ksof.support_files['jquery.js'], true /* cache */);
- }
- ksof.Jquery = { version: $.fn.jquery };
- // Notify listeners that we are ready.
- // Delay guarantees include() callbacks are called before ready() callbacks.
- setTimeout(function () { ksof.set_state('ksof.Jquery', 'ready'); }, 0);
- })(window);
- // module.exports = null;