Greasy Fork is available in English.

UserscriptAPIWeb

https://gitee.com/liangjiancang/userscript/tree/master/lib/UserscriptAPI

您查看的为 2023-03-11 提交的版本。查看 最新版本

此脚本不应被直接安装,它是一个供其他脚本使用的外部库。如果您需要使用该库,请在脚本元属性加入:// @require https://update.greasyfork.org/scripts/432003/1160007/UserscriptAPIWeb.js

脚本作者
Laster2800 Liang
版本
0.0.1.20230311054117
创建日期
2021-09-06
最近更新
2023-03-11
许可证
暂无

UserscriptAPI

My API for userscripts.

需要引入模块方可工作,具体使用请参考源代码中的 JSDoc。点击查看 更新日志

所有模块均依赖于 UserscriptAPI,详细信息如下:

模块 依赖模块 Greasy Fork
base BuiltIn
dom 431998
logger BuiltIn
message dom 432000
wait 432002
web 432003

必须先引用 UserscriptAPI 再引入模块,如:

// @require     https://www.example.com/UserscriptAPI.js
// @require     https://www.example.com/UserscriptAPIDom.js
// @require     https://www.example.com/UserscriptAPIMessage.js
// @require     https://www.example.com/UserscriptAPIWait.js
// @require     https://www.example.com/UserscriptAPIWeb.js

补充说明

  • 脚本库基于 Microsoft Edge 浏览器和 Tampermonkey 脚本管理器开发,不支持 Greasemonkey。要求 Edge / Chrome / Chromium 内核版本不小于 93,Firefox 版本不小于 92。

Source: Gitee / GitHub - by Laster2800