Anti Popup (Enhanced 90%+ Block • Patch++)

Block popups from window.open/about:blank, target=_blank (links/forms/area), base target, and synthetic clicks

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 or Violentmonkey 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
RYZA
Daily installs
0
Total installs
21
Ratings
0 0 0
Version
2.7
Created
2025-10-05
Updated
2025-10-05
Size
4.55 KB
License
Ryza License
Applies to
All sites

This script blocks almost all pop-ups, popunders, and automatic new tabs that appear when accidentally clicking ads or hidden elements on a webpage. It intercepts window.open calls, removes malicious onclick functions, forces all links to open in the same tab, and prevents unwanted redirects using location.assign or replace. It also monitors dynamically loaded content and disables popup behavior inside iframes. A customizable whitelist allows specific domains to open new tabs if needed. This script can block around 90–95% of unwanted pop-ups, creating a cleaner and safer browsing experience.