ublock scriptlet test

test

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

ผู้เขียน
gfish
จำนวนติดตั้งประจำวัน
0
จำนวนติดตั้งทั้งหมด
6
คะแนน
0 0 0
เวอร์ชัน
1.2
สร้างเมื่อ
23-03-2025
อัปเดตเมื่อ
11-10-2025
Size
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