Always focus

Always keeps page in a focused/active state

ผู้เขียน
Yui-Koi
จำนวนติดตั้งประจำวัน
0
จำนวนติดตั้งทั้งหมด
35
คะแนน
0 0 0
เวอร์ชัน
0.3
สร้างเมื่อ
02-03-2025
อัปเดตเมื่อ
02-03-2025
Size
1.33 กิโลไบต์
สัญญาอนุญาต
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.

长期地址
遇到问题?请前往 GitHub 提 Issues。