Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/0xsolanaceae/focused
- Owner: 0xSolanaceae
- License: gpl-3.0
- Created: 2023-01-17T15:25:35.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-08T15:19:38.000Z (4 months ago)
- Last Synced: 2024-12-22T05:52:11.330Z (about 1 month ago)
- Topics: privacy, userscript
- Language: JavaScript
- Homepage:
- Size: 25.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.