Keep TSR Tab Focused

Trick TheSimsResource into thinking the tab is always in focus | Tab Focus Timer Bypass

Author
YawDev
Daily installs
1
Total installs
71
Ratings
0 0 0
Version
1.0
Created
2025-01-31
Updated
2025-01-31
Size
1 KB
License
MIT
Applies to

This script will trick TheSimsResource into thinking that the tab is still in focus thus making the download timer not stop when you switch to a different one.

Works by manipulating document.hasFocus() into always returning true and triggering fake focus events.

Warning: This script doesn't give you the abilty to download more than one item at a time since TSR, internally, will invalidate the previous download ticket if a new one if created.

Enjoy :))