- https://viscogliosi-pate.com
-
Hi! I bake many pies at the request of others but what I really want to make is a cake. they/she
- Joined on
2024-07-23
Have extension icon change color by what tab is open to indicate whether its enabled or not
Fix speculation rules warning caused by replaceAll() in Chrome
The error is "Inline speculation rules cannot currently be modified after they are processed. Instead, a new
Fix speculation rules warning caused by replaceAll() in Chrome
Have extension icon change color by what tab is open to indicate whether its enabled or not
- Test on Chrome
Have extension icon change color by what tab is open to indicate whether its enabled or not
- Make sure that theme is being set when extension is first loaded and not just set to default
Change comments to use imperative (as opposed to present) tense
Have extension icon change color by what tab is open to indicate whether its enabled or not
Here is a service worker version of this, for reference.
Have extension icon change color by what tab is open to indicate whether its enabled or not
Update: only Chrome works with service workers. Firefox wants background pages still.
Make quotes vs. double-quotes consistent
Have extension icon change color by what tab is open to indicate whether its enabled or not
- Add neutral (not disabled/enabled) icon version
- Add service worker script to update the icon when changing tabs
- Add service worker to manifest.json
- Add service worker to…