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

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

Awesome Lists containing this project

README

          

# Reload on Focus

Chrome extension which reloads tabs with matching URLs when they receive focus (becomes active).



Chrome Web Store

## 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)