webext-dynamic-content-scripts icon indicating copy to clipboard operation
webext-dynamic-content-scripts copied to clipboard

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

Results 12 webext-dynamic-content-scripts issues
Sort by recently updated
recently updated
newest added

- Fixes #18 Companion to: - https://github.com/fregante/webext-additional-permissions/pull/13

In some cases (most?) you'd also want the content script to be automatically available on the activeTab as well. This would avoid conflicting scripts trying to inject the script via...

enhancement
help wanted

It's possible that a new target is created and destroyed between the time it's detected and the the last file is injected. This shouldn't cause console noise because it's not...

bug
help wanted

Manifest v3 might have brought some changes that broke this script. I never tested it, but it should be.

enhancement
help wanted

From: https://github.com/pixiebrix/pixiebrix-extension/blob/6ff0e7647fe02e53fb9d3a35f200ed5afd1a3fd2/src/background/util.ts#L29-L44 ```ts /** Checks whether a URL will have the content scripts automatically injected */ export async function isContentScriptRegistered(url: string): Promise { // Injected by the browser const manifestScriptsOrigins...

enhancement
help wanted

If both `https://google.com` and `*://*/*` have been granted, I think this module will attempt to inject the scripts twice on Google.com (although I have not seen this happening) Using the...

enhancement
help wanted

Extracted from https://github.com/fregante/webext-dynamic-content-scripts/issues/16 This issue is due to https://github.com/fregante/content-scripts-register-polyfill/issues/2 and it should be fixed there

bug
help wanted

Extension of: - https://github.com/fregante/webext-dynamic-content-scripts/issues/12 The above issue was fixed with: https://github.com/fregante/webext-dynamic-content-scripts/blob/1816d8a316b0d592df4502511e5bb1b7f6b302ee/index.ts#L56 But it didn't cover `injectToExistingTabs`: https://github.com/fregante/webext-dynamic-content-scripts/blob/1816d8a316b0d592df4502511e5bb1b7f6b302ee/index.ts#L27-L32 This is particularly visible when `all_urls` is granted, so it always covers all...

bug

- Uses https://github.com/fregante/webext-additional-permissions#dropoverlappingpermissionspermissions - Closes https://github.com/fregante/webext-dynamic-content-scripts/issues/35 This hasn't been an issue so far because v3 of the polyfill has a duplicate check, but it was dropped: - https://github.com/fregante/webext-dynamic-content-scripts/pull/55

There's a very rare situation that is no longer covered by `webext-dynamic-content-scripts`. This is a long list of conditions that have to appear _at the same time_ for the bug...

bug