Ultimate Popup Blocker

Configurable popup blocker that blocks all popup windows by default.

Tính đến 29-10-2023. Xem phiên bản mới nhất.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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.

(Tôi đã có Trình quản lý tập lệnh người dùng, hãy cài đặt nó!)

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!)

Tác giả
hacker09
Đánh giá
0 0 0
Phiên bản
1
Đã tạo
29-10-2023
Đã cập nhật
29-10-2023
Kích thước
9 KB
Giấy phép
N/A
Áp dụng cho
Tất cả trang web


How to Install scripts? (Click here)



If you like my work, please consider supporting it!

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, (unharmful ones) 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 Ultimate Popup Blocker to set which websites are trusted to open popups freely.