Ultimate Popup Blocker

Configurable popup blocker that blocks all popup windows by default.

ติดตั้งสคริปต์นี้?
สคริปต์ที่แนะนำของผู้เขียน

คุณอาจชื่นชอบ Youtube - Subtitle (PC Version)

ติดตั้งสคริปต์นี้
ผู้เขียน
hacker09
จำนวนติดตั้งประจำวัน
2
จำนวนติดตั้งทั้งหมด
920
คะแนน
2 0 0
เวอร์ชัน
2
สร้างเมื่อ
29-10-2023
อัปเดตเมื่อ
29-10-2023
สัญญาอนุญาต
ไม่มี
ปรับใช้กับ
ไซต์ทั้งหมด


How to Install scripts? (Click here)


If you like my work, please consider supporting it!

Cryptos https://hacker09.glitch.me/

https://www.patreon.com/hacker09





Ultimate Popup Blocker (or UPB for short) is a lightweight Popup Blocker that aims to block all popup windows by default, on a permission model while providing a clean Permission Manager page for easy configuration.



Why another popup blocker?
Built-in browser popup blockers block only the popups that were created automatically via scripts on page load etc. When you click on a button on the page, it won't block it. However, malicious websites can create JS code that will launch the popups whenever you click on any blank space on the page for instance.

How does it work?
In JavaScript, functions are first-order citizens. It means you can store a function in a variable and pass it freely. You can also modify the native functions provided by the browser, like 'window.open'. Here, we override 'window.open' with the script implementation which shows a prompt to open/close any popup windows.

Managing permissions
Use the permission manager provided with the Ultimate Popup Blocker to set which websites are trusted to open popups freely.