Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/webdeveric/reload-all-tabs-web-ext
Reload All Tabs web extension
https://github.com/webdeveric/reload-all-tabs-web-ext
firefox-addon firefox-extension web-extension web-extensions webextension
Last synced: 12 days ago
JSON representation
Reload All Tabs web extension
- Host: GitHub
- URL: https://github.com/webdeveric/reload-all-tabs-web-ext
- Owner: webdeveric
- Created: 2020-08-10T14:32:50.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-05-15T17:58:40.000Z (8 months ago)
- Last Synced: 2024-11-13T02:53:32.947Z (2 months ago)
- Topics: firefox-addon, firefox-extension, web-extension, web-extensions, webextension
- Language: TypeScript
- Homepage:
- Size: 1.29 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Reload All Tabs
Reload all visible tabs in your current window with one button click.
## Local development
Run these in two different terminals.
- This runs `webpack` in watch mode.
```shell
pnpm dev
```- This runs `web-ext` and loads the extension in Firefox.
```shell
npm start
```## Build the extension
This will transpile the plugin and build a `zip` file for the extension.
The `zip` will be put in `./build`.
```shell
pnpm build
```## Extension signing for Firefox
Define your api key / secret in your environment then run the following.
Credentials can be found at https://addons.mozilla.org/en-US/developers/addon/api/key/
This generates an `xpi` file and it will be put in `./build`.
```shell
pnpm sign -- --api-key=$WEB_EXT_API_KEY --api-secret=$WEB_EXT_API_SECRET
```## Useful links
- https://hacks.mozilla.org/2019/10/developing-cross-browser-extensions-with-web-ext-3-2-0/
- https://extensionworkshop.com/documentation/develop/getting-started-with-web-ext/