Always focus

Always keeps page in a focused/active state

作者
Yui-Koi
今日安裝
0
安裝總數
13
評價
0 0 0
版本
0.3
建立日期
2025-03-02
更新日期
2025-03-02
尺寸
1.3 KB
授權條款
GNU GPLv3
腳本執行於
所有網站

Always Focus

This userscript keeps web pages in a focused and active state even when you switch to other tabs or minimize your browser. It prevents websites from detecting when you're inactive by overriding browser visibility detection methods.

Features:

  • Forces document visibility state to always appear "visible"
  • Blocks visibility change events that websites use to detect inactivity
  • Works on all websites without configuration

Use Cases:

  • Prevents AI chat sessions from timing out due to inactivity
  • Keeps web applications running that would normally pause when inactive
  • Maintains connection to websites that disconnect idle users
  • Useful for long-running processes that require the page to stay active

This lightweight script runs at document start to ensure maximum compatibility and effectiveness across different websites.

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址