Greasy Fork

Greasy Fork is available in English.

Bypass Tab Switch Detection

Prevents websites from detecting tab switches by overriding visibility and focus events.

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Devrill
日安装量
2
总安装量
134
评分
0 0 0
版本
1.1
创建于
2025-02-03
更新于
2025-12-09
大小
1.9 KB
许可证
MIT
适用于
所有网站

This Tampermonkey script prevents websites from detecting when you switch browser tabs or minimize the window.
Useful for bypassing restrictions on background tabs.
The script essentially tricks websites into thinking the tab is always active.

NOTE!:

If you are using a Chromium-based browser, you must enable the following setting:
Open chrome://extensions → find Tampermonkey → Details → Allow user scripts → enable it.
This setting is required for the script to work.
If you do not trust this or any other script you have installed, do not enable it.