Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #107
Copy/Pasting my comment from #107:
The background script is not executed on browser startup because
persistent
is set tofalse
.aw-watcher-web/manifest.json
Line 28 in b53d099
persistent: true
is also the default behavior when unset. And I don't know of any extension that usespersistent: false
.For reference:
https://github.com/Cookie-AutoDelete/Cookie-AutoDelete/blob/ca628ccfa567eeb5e088c74812090659185132b2/extension/manifest.json#L2-L11
https://github.com/darkreader/darkreader/blob/6723337369f784468c28f1d757c46227255693aa/src/manifest.json#L22
https://github.com/darkreader/darkreader/blob/6723337369f784468c28f1d757c46227255693aa/src/manifest-firefox.json#L8-L10C2
https://github.com/ClearURLs/Addon/blob/14a0832973e137f0cbbbb1e9110c1286bc88e319/manifest.json#L57-L74
https://github.com/ajayyy/SponsorBlock/blob/b07381e5d0bae8cea21af7054f7a6464c889a6d4/manifest/manifest.json#L121-L125
https://github.com/gorhill/uBlock/blob/5ba3055bc77cf99ff20d5d29da53fc78b6b6e9e0/platform/firefox/manifest.json#L3-L5