Greasy Fork is available in English.

UserscriptAPIDom

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

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greasyfork.org/scripts/431998/1161016/UserscriptAPIDom.js

Aŭtoro
Laster2800 Liang
Versio
0.0.1.20230313162025
Kreita
2021/09/06
Ĝisdatigita
2023/03/13
Licenco
N/A

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

Source: Gitee / GitHub - by Laster2800