https://github.com/hensm/reloader
Firefox add-on for a reload button as a page action
https://github.com/hensm/reloader
Last synced: about 1 month ago
JSON representation
Firefox add-on for a reload button as a page action
- Host: GitHub
- URL: https://github.com/hensm/reloader
- Owner: hensm
- License: mit
- Created: 2017-10-03T10:22:50.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2025-03-17T10:45:19.000Z (over 1 year ago)
- Last Synced: 2025-06-19T00:02:47.234Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://addons.mozilla.org/en-GB/firefox/addon/reloader/
- Size: 46.9 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Reloader
Firefox add-on for a reload button as a page action
## Keyboard Shortcuts
Command
Windows / Linux
macOS
Reload
F5
Ctrl + R
F5
⌘ + R
Hard Reload
Ctrl + F5
Ctrl + Shift + R
⌘ + F5
⌘ + Shift + R
Empty Cache and Hard Reload
Ctrl + Shift + F5
⌘ + Shift + F5
## Locale Licenses
The project is licensed under the MIT, though some localizations use already translated locale strings from other projects. Licenses for the strings taken from the Firefox/Chromium source repos are included in the `other_licenses` folder.
* Firefox locale strings:
+ page_action_idle_title
+ page_action_busy_title
* Chromium locale strings:
+ page_action_context_normal_reload_title
+ page_action_context_hard_reload_title
+ page_action_context_empty_cache_and_hard_reload_title
## Customizing
The icon color is customizable via userChrome.css. The icons use `context-fill` and `context-fill-opacity` to inherit colors from the stylesheet. By default, this functionality isn't enabled for anything but `chrome://` and `resource://` URLs. For it to work, you need to flip the `svg.context-properties.content.enabled` pref.
Then, in your stylesheet:
````css
/* Example colors, you can use whatever you want */
#reloader_matt_tf-page-action,
#pageAction-urlbar-reloader_matt_tf {
fill: red;
fill-opacity: 0.75;
}
/* Browser action ID */
#reloader_matt_tf-browser-action {
/* ... */
}
````
Move to the end of the url bar:
````css
#pageAction-urlbar-reloader_matt_tf {
-moz-box-ordinal-group: 2 !important;
}
````