Ultra Popup Blocker v2

A sleek, modern popup blocker with an Apple-inspired glassmorphism UI and advanced redirect protection.

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.

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

Author
1Tdd
Daily installs
5
Total installs
130
Ratings
0 1 0
Version
2.0.2
Created
2025-06-26
Updated
2025-12-12
Size
33.1 KB
Compatibility
Compatible with Firefox Compatible with Chrome
License
MIT
Applies to
All sites
UPB Logo

Ultra Popup Blocker

The Universal Solution for a Cleaner Web

Version 2.0.2 MIT License Universal Platform

Ultra Popup Blocker (UPB) is a lightweight, high-performance userscript designed to neutralize modern popup techniques, redirects, and overlay advertisements. Built with a state-of-the-art interception engine, it operates silently in the background, protecting your browsing experience without breaking legitimate websites.


✨ Key Highlights

🎨 Apple-Inspired Glassmorphism UI

A stunning, blur-backed interface that feels native to modern operating systems. It adapts intelligently to your device:

  • Desktop: A sleek, unobtrusive notification bar.
  • Mobile: A touch-optimized control grid designed for thumbs.
Ultra Popup Blocker UI Preview
(The responsive interface adapting to user interaction)

🛡️ Advanced Security Core (v2.0)

  • The "Black Hole" Proxy: Uses a recursive FakeWindow proxy that absorbs detection attempts. It tricks anti-adblock scripts into thinking a popup opened successfully, preventing site breakage while keeping the popup blocked.
  • State-Caching Architecture: Domain status checks are now O(1) (instant). Zero lag, even on the heaviest web pages.
  • Strict Mode: New option to block ALL popups by default, providing maximum protection.
  • Input Shield: Protects settings UI from hostile websites that block keyboard events.

⚡ Intelligent Defense Layers

  1. Trap: Intercepts window.open, target="_blank", and simulated mouse events (including middle-click).
  2. Shield: Monitors beforeunload events to prevent sites from redirecting your current tab in retaliation for a blocked popup.
  3. Filter: Distinguishes between malicious popups and legitimate user actions (like download links).
  4. Configurable: Toggle notifications or enable Strict Mode directly from the settings.


📦 Installation

Step 1: Get a Userscript Manager

You need a browser extension to run this script.

  • Desktop (Chrome, Firefox, Edge): Tampermonkey or Violentmonkey.
  • Android: Firefox Nightly or Kiwi Browser with Tampermonkey.
  • iOS (iPhone/iPad): The "Userscripts" extension for Safari.

Step 2: Install the Script

Click the install button above or visit the GitHub releases page.


⚙️ How to Use

UPB works out of the box. When a popup is blocked, you are in control:

Action Description
✅ Allow Once Opens the blocked popup just this one time. Useful for login windows.
💙 Trust Site Whitelists the domain. Popups will never be blocked here again.
❌ Block Site Adds the domain to the Deny List. Future attempts will be blocked silently.
⚙️ Config Opens the dashboard to manage your Allowed/Denied lists.
Pro Tip: On mobile devices, the inputs are optimized to prevent auto-correct and auto-capitalization, making domain entry frustration-free.


📜 Credits & Acknowledgments

This project is an evolution of the original concept, rebuilt for the modern web.

  • Lead Developer: 1Tdd - Core architecture rewrite, UI design, mobile optimization, and stealth systems.
  • Original Inspiration: Eskander - Author of the original Popup Blocker Script.


Distributed under the MIT License. Code is provided "as is" without warranty.

📂 GitHub Repository