Open in Current

Always open pages in the current window, instead of creating a popup.

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

יוצר
PRO-2684
התקנות יומיות
0
סה"כ התקנות
2
דירוגים
0 0 0
גרסה
0.1.0
נוצר
16-10-2025
עודכן
16-10-2025
Size
1.68 קילו-בייט
רישיון
GPL-3.0
חל על

Open in Current

🪄 Function

Always open pages in the current window, instead of creating a popup.

📖 Usage

By default, it doesn't apply to any websites. In order for this script to take effect on a site, you need to add the website to this script's User matches list. (You can find it at Dashboard - Installed Userscripts - CORS Helper - Settings - Includes/Excludes - User matches - Add...)

🤔 How it works

Intercept window.open, and only keep noopener, noreferrer, and attributionsrc in the windowFeatures argument.

🔗 Comparison

Open links in current tab allows you to open links in the current tab, instead of a new tab. It might seem similar to this script, but is fundamentally different.

Open in Current Open links in current tab
Focus Disable popups Disable new tabs
Method Intercept window.open Intercept clicks and window.open
Default scope No website All websites