Greasy Fork is available in English.

Always on focus

Prevents websites from knowing that you switched tabs or unfocused the window

Dette er versioner af dette script, hvor koden er blevet opdateret. Vis alle versioner.

  • v1.5.3 09.06.2024

    Fix: classList null safety

  • v1.5.2 10.10.2023

    Hotfix

  • v1.5.1 10.10.2023

    Fix issues arising from blocking `mouseleave` and `mouseout` events on all elements

  • v1.5 05.10.2023

    Fix visibilityState and webkitVisibilityState not working as intended

  • v1.4 21.04.2023

    Exclude anchor and span elements, add update URL

  • v1.3 21.04.2023

    Prevent tracking when mouse leaves page

  • v1.2 19.04.2023

    - Added webkitVisibilityState
    - Added get() handler for visibilityState properties
    - Add event listeners to document
    - Add event.preventDefault()
    - Hopefully added mobile support
    - Remove repetitive code

  • v1.1 20.07.2021