No New Tabs icon

No New Tabs

by hey.im.seph

v3.0.1 Updated Jan 14, 2026 106KiB
CWS
10K
Users
★ 4.51
93 reviews
#3793
of 141.8K
workflow
#1155 of 21.8K
Highly rated

Description

No New Tabs (formerly Death To _blank) One tab to rule them all. This extension does exactly what it says: it stops links from opening in new tabs. Whether it's an old-school link with a target="_blank" attribute or a modern site using JavaScript to spawn tabs, No New Tabs forces the content to open right where you are. If I wanted a new tab, I would have opened one myself! THE UNBREAKABLE UPDATE (v3.0.0). Earlier versions only worked by stripping basic HTML attributes like <a target="_blank">. Version 3.0.0 now handles every technique websites use to open new tabs—it also intercepts JavaScript to keep new pages in the current tab. Temu can't get away with it anymore. Features: Cleans Links: Strips out _blank, _new, and a bunch of non-standard targets. Blocks JS Spawning: New in 3.0.0—prevents scripts from hijacking your browser flow. White/Blacklist: If you actually want Gmail or other specific sites to open new tabs, just add them to the whitelist in the options. Or if you want to ONLY prevent new tabs from certain pages, you can configure a blacklist. AJAX Friendly: Works on sites that load content as you scroll, like Facebook or Twitter. Easily configurable: The extension popup allows you to easily enable/disable the extension, or add the current page to the whitelist. If you find a link or a script that manages to escape, let me know and I'll see if I can hunt it down. Email (available in the options page) is the most reliable way to contact me. I am very responsive CHANGELOG Version 3.0.1 (2025/01/11) - Bugfix: Command clicking (or control clicking for you non Mac folk) should open links in a new tab, even with this extension. The previous update broke that, so this one fixes it. Version 3.0.0 (2025/12/24) - The "Unbreakable" Update: Renamed to No New Tabs. - JavaScript Handling: Finally added the ability to prevent scripts from opening new tabs/windows via JS. - Overhauled logic to handle modern web-app navigation better. Version 2.1.2 (2025/11/25) - Performance improvements - You can now use a popup from the extension to easily enable/disable the extension for the current page Version 2.1.1 (2025/9/25) - Small bugfix in fenced frames (really just an annoying log message). - Made config page dynamic, no "Save" required. So fancy. Version 2.1.0 (2025/9/19) - Significant optimizations and performance improvements. - Removed jQuery dependency, other optimizations. - Reduces memory usage and should improve page load performance as well. Version 2.0.4 (2025/9/17) - Version 2.0.3 was a rollback to version 2.0.1. - Fixed a bug in 2.0.2 which reversed the behavior of white and blacklisting, effectively breaking the extension. Sorry! Version 2.0.2 (2025/9/9) - Fixed a bug in rewriting links with rels. - Made the extension overall more robust, fixed some possible race conditions. - Made the options page prettier. Version 2.0.1 (2024/10/18) - Fixed a bug where some features are disabled after updating (sorry!). Version 2.0 (2024/10/15) - Updates to manifest V3 - Big rewrite under the hood. Settings are not persisted from previous version, sorry. I do this in my spare time and I didn't have the gumption to spend more time on this than it already took to just get the basic functionality working again... Version 1.9 (2020/10/15) - Bugfix: previous version of the script did not work when the "Filter HTML forms" option was deselected. Version 1.8 (2017/12/16) Big change - Should be noticeably faster (only monitors updated/added elements on page, rather than rescanning the whole page on modification). - Added ability to enable/disable by clicking on extension button (also added a toggle in the options page). - Added the __blank (two underscores) target. - Requires fewer permissions, should be fewer corner cases that it misses. Version 1.7 (2015/11/25) - Allows the user to specify what the "_blank" target should be rewritten to (don't do this if you don't know what it means!). Version 1.6 (2015/10/25) - Now disables _blank (etc.) on the <base> tag as well. Version 1.5 (2014/03/07) - Now works on HTML forms as well. Can be disabled in the options menu if you prefer (although please tell me why, if you do!). Version 1.4.3 (2013/11/8) - Fixed one more migration bug. Sorry 'bout that. Versions 1.4.1, 1.4.2 (2013/11/6) - Fix bugs that wouldn't allow upgraders to use this script (sorry!). Version 1.4 (2013/11/6) - Exceptions can now be specified as a blacklist instead of the default whitelist. Version 1.3 (2013/9/15) - Fixes a javascript development error (probably invisible to most people). - Upgrades to jQuery 2.0 internally, which may make things a bit faster (but is actually probably completely unnoticeable). Version 1.2 (2013/7/7) - Now works with pre-rendered pages (frequently generated from Google searches). As a side-effect, now requires the webNavigation permission to know when new pages are loaded or swapped in. Version 1.1 (2013/6/1) - Added _hplink to bad targets, which is used by Huffington Post (don't judge me). Version 1.0.1 (2013/3/10) - No changes; re-uploading due to bug in Webstore. Version 1.0 (2013/3/9): - Now works on dynamically-loaded AJAX content. Useful for sites like Twitter and Facebook. - Added a whitelist option. - Now requires permission to view your tabs, so that I can know which page you're browsing (needed for the whitelist). Version 0.9 (2013/3/3): - Now catch rel=ext and rel=e, which are sometimes used to open new windows in javascript-based techniques. Version 0.8 (2012/7/3): - A change in the previous version meant that my script didn't operate while the page was still loading. Fixed now. Version 0.7 (2012/7/3): - Various changes due to Chrome updates. No user-visible changes. Version 0.6 (2011/6/24): - Added the _newtab target Version 0.5 (2011/04/29): - Now works for file:// URLs as well. Version 0.4 (2010/10/28): - No longer needs permission to view your tabs or history (mind you, it wasn't making use of this permission before). It still needs permission to access "Your data on all websites", but there's no getting around that -- it rewrites the links on every page you browse! Version 0.3 (2010/10/28): - Removes rel=external (which doesn't necessarily open a new window, but some pages use javascript to open such links in new windows). Version 0.2 (2010/07/21): - Now blocks the _new target as well.
No New Tabs screenshot 1No New Tabs screenshot 2

Reviews (5 cached)

★☆☆☆☆2025-12-02
Hand Forged Finery Jewelry Studio

VERY disappointed after seeing the high recommendations. Does phuck all on Temu's site and ebay.

★★☆☆☆2019-12-03
Hagen Fritsch

Doesn’t work for me. Links still open in new tabs.

★★☆☆☆2016-08-17
Lior

doesnt work on eztv.ag

★★★☆☆2025-05-30
Artemi Lebedev

For some reason, It did not remove the attribute in: <a href="#4" class="sb-link" style="" rel="nofollow noopener noreferrer" target="_blank">Апрель</a>

★★★☆☆2019-03-18
Jonathan Morley

Didn't do what I was hoping. There's a website I frequent that has hidden links in places users would click which cause an unintended occurrence of a new tab opening with a different website. Upon using Death to _blank on that site all it does is prevent the new website from being open in a new tab. It does not however prevent that other website from being loaded. Instead, now that website loads in the same tab as the original site. So, essentially this just makes the problem worse.

Permissions (2)

Permissions

activeTab Can access the current tab when you click the extension storage Can store data locally in your browser

Details

Version 3.0.1
Updated Jan 14, 2026
Size 106KiB
First Seen Mar 28, 2026