uScript+

Helps the Userscript development process. Add hooks to arrays, objects, etc. It may be very useful for many purposes, while having config options that allow for customizeability. And is also useful for reverse-engineering a website, as you can see what is happening when, say a click event occurres.

作者
Mr. Scripter
日安装量
0
总安装量
20
评分
0 0 0
版本
0.2
创建于
2023-01-04
更新于
2023-01-04
许可证
暂无
适用于
所有网站

uScript+ | The Tool for Userscript Writers.

uScript+ Automatically adds hooks to arrays and objects. For example:

const myArray = ["a", "b"];
myArray.push("c"); // This is where uScript+ jumps in

would have this text appear in the console:

uScript+ | ArrayPush: "c", Array: [a, b]

You can see that "c" was pushed to the array, and the array already contains "a" and "b" values.

Console

Once uScript+ runs, it outputs the window and document objects to the console.

What is a uScript+ log and what isn't?

Anything that uScript+ logs to the console has the basic structure: "uScript+ | (msg)"

What sites does uScript+ Apply to?

uScript+ applies to all sites, https or http. However, if you don't want uScript+ to run on a particular website, either disable it via your userscript manager, or use the OPTIONS.excluedSites option.

Example disabling a site using the options.excludedSites option:

// Excluding the other options.
excludedSites: ["https://www.example.com", "http://www.example.com"];