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
Створено
04.01.2023
Оновлено
04.01.2023
Ліцензія
Н/Д
Відноситься до
Всі сайти

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"];