Ultra Popup Blocker

Configurable popup blocker that blocks all popup windows by default.

Δημιουργός
Eskander
Ημερήσιες εγκαταστάσεις
2
Σύνολο εγκαταστάσεων
4.191
Βαθμολογίες
10 0 0
Έκδοση
4.1
Δημιουργήθηκε την
27/07/2019
Ενημερώθηκε την
28/01/2025
Μέγεθος
10 KB
Συμβατότητα
Συμβατό με Firefox Συμβατό με Chrome
Άδεια
MIT
Εφαρμόζεται σε
Όλοι οι ιστοχώροι

Ultra Popup Blocker

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.

JavaScript Style Guide

Why Another Popup Blocker?

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.

How It Works

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.

Managing Permissions

The built-in Permission Manager allows you to whitelist websites that should be allowed to open popups freely.

Installation Instructions

  1. Install a userscript manager for your browser:

  2. Add Ultra Popup Blocker from one of the sources below:

GreasyFork OpenUserJS GitHub