Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/0xsolanaceae/focused

A simple userscript that circumvents your browser's ability to tell pages whether you're actively focused or not.
https://github.com/0xsolanaceae/focused

privacy userscript

Last synced: about 1 month ago
JSON representation

A simple userscript that circumvents your browser's ability to tell pages whether you're actively focused or not.

Awesome Lists containing this project

README

        

# Focused

Focused is a simple userscript designed to prevent websites from detecting whether you have switched tabs.

---

## Features

- Disables the ability for websites to detect tab switching.
- Overrides various document properties to always indicate the page is visible.
- Stops propagation of visibility change events.

## Installation

1. Install a userscript manager like [Tampermonkey](https://www.tampermonkey.net/).
2. [Download the script](src/focused.js) and add it to your userscript manager.

## Usage

Once installed, the script will automatically run on all websites and prevent them from knowing when you switch tabs.

## License

This project is licensed under the GPLv3 License. See the [LICENSE](LICENSE) file for details.