Skip to content

Releases: fregante/webext-detect

v5.1.0

30 Jul 12:35
Compare
Choose a tag to compare

v5.0.2...v5.1.0

v5.0.2

28 Jun 09:02
Compare
Choose a tag to compare

🍄

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.2

v5.0.1

01 Feb 12:26
Compare
Choose a tag to compare
  • isPersistentBackgroundPage: Avoid false positive on MV3 Firefox (#29) 75576b4

v5.0.0...v5.0.1

v5.0.0

04 Jan 15:44
Compare
Choose a tag to compare
  • Define exports field 5d94b01
  • Change contextNames export to be an array of strings 0e7061e

v4.2.1...v5.0.0

v4.2.1

31 Dec 09:03
Compare
Choose a tag to compare

v4.2.0...v4.2.1

v4.2.0

29 Dec 15:17
Compare
Choose a tag to compare

v4.1.1...v4.2.0

Sponsors

Release sponsored by PixieBrix 🎉

v4.1.1

02 Aug 20:25
Compare
Choose a tag to compare
  • Support srcdoc iframes and about:blank (#20) 8167983

v4.1.0...v4.1.1

Sponsors

Release sponsored by PixieBrix 🎉

v4.1.0

29 Apr 06:09
Compare
Choose a tag to compare

v4.0.1...v4.1.0

v4.0.1

21 Feb 11:54
Compare
Choose a tag to compare

v4.0.0...v4.0.1

v4.0.0

12 Dec 10:07
Compare
Choose a tag to compare

Breaking changes

  • isBackgroundPage no longer returns true 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 calls getBackgroundPage but instead relies on the current URL and the manifest for detection

Sponsors

Release sponsored by PixieBrix 🎉