您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Configurable popup blocker that blocks all popup windows by default.
Ultra Popup Blocker (UPB) is a lightweight popup blocker designed to block all popup windows by default—even user-initiated ones—unless explicitly allowed. It provides a simple yet effective Permission Manager to manage exceptions.
[!Note] This project is in maintenance mode—no new features are planned.
Default popup blockers in Firefox and Chrome only block popups triggered automatically (e.g., on page load). However, some websites abuse popups by attaching them to any user interaction, including clicks on seemingly empty areas. UPB blocks these aggressive popups, giving you full control.
In JavaScript, functions are first-class citizens, meaning they can be stored in variables and modified. UPB takes advantage of this by overriding window.open
with a custom implementation that prompts the user for confirmation before opening any popups.
Note: This is not a foolproof solution. For comprehensive protection, use uBlock Origin with the appropriate filter lists.
The built-in Permission Manager allows you to whitelist websites that should be allowed to open popups freely.
Install a userscript manager for your browser:
Add Ultra Popup Blocker from one of the sources below:
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址