fregante / fregante/webext-dynamic-content-scripts
Use `dropOverlappingPermissions` to avoid duplicate injections
Open
enhancement
help wanted
- Dominant language
- TypeScript
- Stars
- 92
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
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 new [dropOverlappingPermissions](https://github.com/fregante/webext-additional-permissions#dropoverlappingpermissionspermissions) function, this module can clean up the additionalPermissions list before trying to inject the scripts.
Contributor guide
Assessment
This issue has not been assessed yet.