Greasy Fork

Ultra Popup Blocker (Enhanced Edition)

A popup blocker, re-engineered with an elegant UI and powerful, modern protections.

当前为 2025-06-27 提交的版本,查看 最新版本

作者
1Tdd
评分
0 0 0
版本
5.0
创建于
2025-06-26
更新于
2025-06-27
大小
26.3 KB
兼容性
与 Firefox 兼容 与 Chrome 兼容
许可证
MIT
适用于
所有网站

Ultra Popup Blocker (Enhanced Edition)

Version License Maintenance

This is an enhanced and actively maintained fork of the original Ultra Popup Blocker by Eskander.

This version goes beyond the original by introducing a powerful blacklist feature ("Always Deny") and a more advanced detection engine that can block a wider variety of popups, including those triggered by clicks.


Core Features

  • 🚫 Whitelist & Blacklist Support: You have full control. You can permanently allow popups from trusted sites or permanently deny them from annoying ones.
  • 💡 Advanced Popup Detection: Blocks popups generated by both JavaScript (window.open) and user clicks on links (target="_blank"), making it much more effective.
  • 🔔 Configurable Notification Bar: When a popup is blocked, a discreet bar appears, giving you the choice to allow it once, always allow it (whitelist), or always deny it (blacklist).
  • ⚙️ Easy Management Panel: Manage your whitelisted and blacklisted sites directly from the Tampermonkey menu, without needing the notification bar.

How It Works

When a website tries to open a popup, this script intercepts the attempt and prevents it. Instead of the popup, you will see a small notification bar at the bottom of the page.

How it works GIF

From this bar, you have several choices:

  • 🟢 Allow Once: Allows this specific popup to open one time.
  • 🔵 Always Allow: Adds the website to your whitelist. All future popups from this site will be allowed automatically.
  • 🚫 Always Deny: Adds the website to your blacklist. All future popups from this site will be blocked silently, with no notification.
  • 🔴 Deny: Denies this specific popup and closes the bar.

Installation

  1. Install a Userscript Manager: You need an extension like Tampermonkey or Violentmonkey for your browser.
  2. Install the Script: Click the link below to get the latest stable version. Your userscript manager will automatically open an installation tab.

    ➡️ Click Here to Install the Latest Version

Usage

Blocking a Popup

The script works automatically. Just browse the web, and it will block popups as they appear.

Managing Your Lists

You don't need to wait for a popup to manage your permissions.

  1. Click the Tampermonkey icon in your browser's toolbar.
  2. From the dropdown menu, click "Ultra Popup Blocker: Manage Permissions".
  3. A panel will appear, showing your whitelisted and blacklisted sites. You can remove any site by clicking the × icon next to it.

Management Panel

You can easily manage your whitelisted and blacklisted sites at any time. Management Panel Screenshot


Acknowledgements

This project is a fork and builds upon the excellent foundation laid by Eskander in the original Ultra Popup Blocker repository.

Contributing

Found a bug or have a feature request? Please feel free to open an issue. Your feedback is welcome!

License

This project is licensed under the MIT License.