Releases: fregante/webext-detect
Releases · fregante/webext-detect
v5.1.0
v5.0.2
🍄
The package has been renamed from webext-detect-page
to webext-detect
Run this to upgrade:
npm remove webext-detect-page
npm install webext-detect
And then do a global search and replace in your code.
v5.0.1
v5.0.0
v4.2.1
v4.2.0
v4.1.1
v4.1.0
v4.0.1
v4.0.0
Breaking changes
isBackgroundPage
no longer returnstrue
in service workers (#18)getContextName
returns'background'
instead of'backgroundPage'
New
- Add
isBackgroundWorker
to detect Manifest v3 background service workers - Add
isBackground
to detect both workers and pages
Improvements
isBackgroundPage
no longer callsgetBackgroundPage
but instead relies on the current URL and the manifest for detection
Sponsors
Release sponsored by PixieBrix 🎉