Ultra Popup Blocker

Configurable popup blocker that blocks all popup windows by default.

Από την 01/03/2021. Δείτε την τελευταία έκδοση.

Δημιουργός
Eskander
Βαθμολογίες
0 0 0
Έκδοση
3.0
Δημιουργήθηκε την
27/07/2019
Ενημερώθηκε την
01/03/2021
Μέγεθος
9 KB
Συμβατότητα
Συμβατό με Firefox Συμβατό με Chrome
Άδεια
MIT
Εφαρμόζεται σε
Όλοι οι ιστοχώροι

Ultra Popup Blocker

Ultra Popup Blocker (or UPB for short) is a lightweight Popup Blocker that aims to block all popup windows by default, (even good, unharmful, user-initiated ones) on a permission model, while providing a clean Permission manager for easy configuration.

Why another popup blocker?

Built-in Firefox and Chrome popup blockers blocks 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 our own implementation which prompts the user to see whether he really wants to open a popup window.

Managing permissions

Use the permission manager provided with Ultra Popup Blocker to set which websites are trusted to open popups freely.

Install instructions

  1. Get a userscript manager from your browser's addon store. I personally use Tampermonkey on Firefox ➚.
  2. Add Ultra Popup Blocker from one of the following sources:

GreasyFork OpenUserJS GitHub