ublock scriptlet test

test

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
gfish
今日安裝
0
安裝總數
6
評價
0 0 0
版本
1.2
建立日期
2025-03-23
更新日期
2025-10-11
尺寸
722 位元組
授權條款
MIT
腳本執行於
所有網站

Unlike userscripts, uBlock scriptlets can execute BEFORE inline page < scripts >, effectively allowing you to modify or block them.

The downside is that they require an external hosting site, also its parser is kinda fuzzy

USAGE: check this tutorial https://www.xaloez.com/blog/UblockOriginScriptlets/index.html
TLDR
- copy below code to a text pasting site (no empty lines allowed)
- set userResourcesLocation to [your paste link URL]
- add *##+js(test) to My Filters
- refresh any page and check console output