Force all links to be opened in current tab instead of the new one

Latest Version

Version
1.0.11
Update
December 21, 2023
Size
3.46KiB
Developer
Category
Users
296
Rating
5 ★
Manifest Version
2
Web Store Status
Languages Support
English (United States)
See more
Permissions
See more

Link in Current Tab Extension

This extension forces all links to be opened in the current tab. It does it in a way that should work in ALL websites, even if the sites that load contents dynamically via AJAX.

Note You can still open a link in the new tab at any time, by clicking a link when holding the \"Ctrl\" key, or using the middle mouse button to open a link.

无视页面里 a 链接的 target=\"_blank\" 属性, 强制所有链接在当前 tab 页打开.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Link in Current Tab", "description": "Force all links to be opened in current tab instead of the new one", "version": "1.0.11", "author": "Jacques De SAGAN", "manifest_version": 2, "permissions": [], "content_scripts": [ { "js": [ "content.js" ], "matches": [ "http://*/*", "https://*/*" ], "run_at": "document_start", "all_frames": true } ]}
Read more