https://github.com/alexwayfer/reload-on-focus
Reload browser tabs with matching URLs when they receive focus
https://github.com/alexwayfer/reload-on-focus
Last synced: over 1 year ago
JSON representation
Reload browser tabs with matching URLs when they receive focus
- Host: GitHub
- URL: https://github.com/alexwayfer/reload-on-focus
- Owner: AlexWayfer
- Created: 2024-03-12T18:32:16.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-28T13:55:29.000Z (over 1 year ago)
- Last Synced: 2025-01-31T04:33:57.785Z (over 1 year ago)
- Language: JavaScript
- Size: 102 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Reload on Focus
Chrome extension which reloads tabs with matching URLs when they receive focus (becomes active).
## Description
Open extension's options after installation. There you can specify URLs to watch for focus.
Then extension will reload any tab with matching URL on receiving focus (when you switch to it).
If tab's URL has changed to non-matching — the extension will not reload it.
There is a general (for all URLs) threshold option: specify time without reloads for fast switching.
Examples:
* A site with recommendations like Twitch.
* A feed/board/forum like Reddit.
* An order/delivery page with tracking; if URL has order number — just use the wildcard (`*`).
## Development
### Setup
1. Install [`pnpm`](https://pnpm.io/).
2. Run `pnpm install`.
### Linting
`pnpm run lint` to lint docs, styles and scripts.
### Packing
`pnpm run pack` to pack the extension into ZIP-file.
Only necessary files will be packed.
We don't need for `.crx` and keys,
[Developer Dashboard](https://chrome.google.com/webstore/devconsole) now does it automatically.
## Credentials
* [Main icon](https://www.flaticon.com/free-icon/refresh_189686)
* [Loading icon](https://icons8.com/icon/XHchy08wwA71/loading-circle)