Open Links in Background Tabs One-Button Toggle

A movable semi-transparent toggle appears in the corner. ON: links open in background tabs, Alt=current, Shift=foreground. Master enable/disable applies per HOSTNAME.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Te55eract
今日安裝
0
安裝總數
5
評價
0 0 0
版本
2.1
建立日期
2025-09-30
更新日期
2025-10-02
尺寸
12.4 KB
授權條款
MIT
腳本執行於
所有網站

Hover the bottom-right corner to reveal a single toggle button that forces links to open in background tabs. Red = OFF, green = ON. The setting is remembered per page (origin + path). When you visit a page again the settings are automatically reapplied to that page.

This version allows for moving the toggle on/off button by dragging it around. to reset the position, double click the button. If the place you dragged the button falls off the page when you resize it then the button is moved inward to maintain visibility.

This version of the script has a master toggle menu item that appears in the Tampermonkey extension's menu. The toggle functions on a hostname basis

Modifiers:

when open tabs in background is turned toggled to ON then the following modifiers apply:

Shift+click: open the link in a foreground tab
ALT+click: open the link in the current tab