Always has focus

Tricks the page into thinking it is always focused

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Tekijä
Steve “tockdev” Persson
Päivittäiset asennukset
0
Asennuskerrat
0
Arvostelut
0 0 0
Versio
1.0
Luotu
25.12.2025
Päivitetty
25.12.2025
Size
1,53 kt
Lisenssi
MIT
Käytössä
Kaikki sivustot

KeepFocus

A simple script to trick the page into thinking it's the currently open tab and the browser is the currently open application.

Usage

You can just enable it in your user script manager and it will apply to every site.

If you want to change the site it applies to, edit line 7 where it says "*://*/*" and replace the second asterisk ("*://*/*) with you website domain name (eg. google.com, discord.com). I myself found it very useful to use on discord, to keep it focused for quests.