您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Force pages to always think the tab is visible/focused; optionally spoofs mouse as always "in page" and blocks exit/enter intent; shows a tiny popup when a visibility or mouse check is detected
forces sites to always think the tab is visible and focused. it blocks or rewrites common ways pages detect tab visibility/focus and can optionally show a tiny popup when those checks happen.
document.visibilityState
→ "visible"
document.hidden
→ false
webkitVisibilityState
, mozHidden
, msHidden
, etc.) → coerced to visibledocument.hasFocus()
→ true
visibilitychange
, webkitvisibilitychange
, mozvisibilitychange
, msvisibilitychange
pagehide
, pageshow
, freeze
, resume
blur
, focus
, focusin
, focusout
(configurable; global blur/focusout
can be swallowed to stop “window blur” probes)onvisibilitychange
, onblur
, etc.) are wrapped tooall wrapped handlers observe a “document is visible” state.
mousemove
(and optional pointermove
) with subtle jitter@run-at document-start
and in @all-frames
requestAnimationFrame
/ requestIdleCallback
) — off by defaultno network calls, no external code resources. all logic runs locally.
this script may keep some backgrounded tabs busier than normal, since it prevents browsers from pausing work when a tab isn’t visible. this isn't a bug or feature; it is an unintended side-effect of the browser and website thinking that you are still viewing each tab. however, this will NOT impact your browser's memory-saving features (i.e., chromium's Memory Saver).
patchTimers
) can wake tabs up more oftenlow-impact (default-ish)
strictMode: false
paranoidMode: false
patchTimers: false
mouse.fakeIntervalMs: 30000+
notify
: mostly offvideo keeps playing, stay efficient
focus.blockGlobalBlur: true
pageRealmPatch: true
mouse.fakeIntervalMs: 30000–45000
patchTimers: false
maximum stickiness (expect more cpu/battery)
strictMode: true
paranoidMode: true
patchTimers: true
mouse.alsoPointerMove: true
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址