webext-dynamic-content-scripts

WebExtension module: Automatically registers your content_scripts on domains added via permission.request

MIT License

Downloads
940
Stars
79
Committers
5

Bot releases are hidden (Show)

webext-dynamic-content-scripts - Latest Release

Published by fregante 4 months ago

  • Avoid duplicate injection on MV3 worker restart (#73) 0f27f77
  • Reduce compute when unused (#72) f1561a1

https://github.com/fregante/webext-dynamic-content-scripts/compare/v10.0.2...v10.0.3

webext-dynamic-content-scripts -

Published by fregante 4 months ago

webext-dynamic-content-scripts -

Published by fregante 9 months ago

  • Allow importing utils.js in newer Node tools (#68) 85e56bf

https://github.com/fregante/webext-dynamic-content-scripts/compare/v10.0.0...v10.0.1

webext-dynamic-content-scripts -

Published by fregante about 1 year ago

Breaking changes

  • Use exports field (#65) 805c736
  • Update content-scripts-register-polyfill (#55) 8208a26

Known issues:

Sponsors

Release sponsored by PixieBrix 🎉

https://github.com/fregante/webext-dynamic-content-scripts/compare/v10.0.0-3...v10.0.0

webext-dynamic-content-scripts -

Published by fregante over 1 year ago

  • Fix Chrome MV3 deregistration + cleanup internal types (#57) a72b4f6

Sponsors

Release sponsored by PixieBrix 🎉

https://github.com/fregante/webext-dynamic-content-scripts/compare/v9.2.0...v9.2.1

webext-dynamic-content-scripts -

Published by fregante over 1 year ago

webext-dynamic-content-scripts -

Published by fregante almost 2 years ago

  • Add optional support for activeTab injection (#44) 20d308f

Sponsors

Release sponsored by PixieBrix 🎉

https://github.com/fregante/webext-dynamic-content-scripts/compare/v9.1.0...v9.2.0

webext-dynamic-content-scripts -

Published by fregante almost 2 years ago

Bugfixes

  • Silence "No tab with id" error on first load (#53) d0b8146
  • Exclude URLs that already overlap with defaults (on first launch too) (#52) 42323d7

New

  • Add isContentScriptRegistered utility (#45) 4fea112

https://github.com/fregante/webext-dynamic-content-scripts/compare/v9.0.0...v9.1.0

webext-dynamic-content-scripts -

Published by fregante almost 2 years ago

Breaking

  • The underlying API is completely different in Firefox now. This adds MV3 support everywhere
  • The minimum browser version has been slightly increased to Chrome v80+ and Firefox v74+

Details

  • Update dependencies + increase minimum browser version (#43) ca20e9a 80f3acd
  • Add preliminary support for Manifest v3 (#38) 0a4bb0d
  • Add automated tests (#39) 1816d8a

Sponsors

Release sponsored by PixieBrix 🎉

https://github.com/fregante/webext-dynamic-content-scripts/compare/v8.1.1...v9.0.0

webext-dynamic-content-scripts - v8.1.1

Published by fregante over 2 years ago

  • Update dependencies (#37) 04a3e39265a0787129acb96b4715fa3d0bcd31e1

Sponsors

Release sponsored by PixieBrix 🎉

https://github.com/fregante/webext-dynamic-content-scripts/compare/v8.1.0...v8.1.1

webext-dynamic-content-scripts -

Published by fregante almost 3 years ago

  • Add support for Manifest v3 5fd9ff0

Sponsors

Release sponsored by PixieBrix 🎉

https://github.com/fregante/webext-dynamic-content-scripts/compare/v8.0.2...v8.1.0

webext-dynamic-content-scripts -

Published by fregante almost 3 years ago

  • Avoid injecting scripts on every tab on start (#30) f45adb8

https://github.com/fregante/webext-dynamic-content-scripts/compare/v8.0.1...v8.0.2

Sponsors

Release sponsored by PixieBrix 🎉

webext-dynamic-content-scripts -

Published by fregante almost 3 years ago

New

  • Exclude URLs that already overlap with defaults (#28) 765d46d

https://github.com/fregante/webext-dynamic-content-scripts/compare/v8.0.0...v8.0.1

Sponsors

Release sponsored by PixieBrix 🎉

webext-dynamic-content-scripts -

Published by fregante over 3 years ago

Breaking changes

  • Don't polyfill the global API (#25) debc829

The polyfill for contentScript.register() is now used internally without affecting the global scope. If you were using this API without importing the polyfill directly, starting from v8 now you will have to install and import it.

New

  • When a new origin is added, inject into existing tabs (#24) b10b7f6
  • Use webNavigation events if available to improve reliability (#21) ee0f80b

https://github.com/fregante/webext-dynamic-content-scripts/compare/v7.1.2...v8.0.0

Sponsors

Release sponsored by PixieBrix 🎉

webext-dynamic-content-scripts -

Published by fregante over 3 years ago

  • Throw error when no content scripts are defined 0c27050
  • Avoid duplicate injection in Chrome 322e59e

https://github.com/fregante/webext-dynamic-content-scripts/compare/v7.1.1...v7.1.2

webext-dynamic-content-scripts -

Published by fregante over 3 years ago

  • Avoid duplicate injection in Safari: 1e1531765791d2fd45d4be673a3f692b979bc675
webext-dynamic-content-scripts -

Published by fregante over 3 years ago

  • Update dependencies: 90da6f8d90c4e7e7d492fb55d127dac5ff63a419
webext-dynamic-content-scripts -

Published by fregante over 3 years ago

webext-dynamic-content-scripts -

Published by fregante about 4 years ago

Breaking changes

  • Drop unnecessary webext-permissions-events-polyfill 5b69b2f

This brings the minimum supported Firefox version to 77 (Chrome didn't need it already)

https://github.com/fregante/webext-dynamic-content-scripts/compare/v6.0.5...v7.0.0

webext-dynamic-content-scripts -

Published by fregante about 4 years ago

  • Update dependencies 58f891e
Package Rankings
Top 6.75% on Proxy.golang.org
Top 4.68% on Npmjs.org
Badges
Extracted from project README
npm version
Related Projects