fregante / fregante/webext-dynamic-content-scripts

Use `dropOverlappingPermissions` to avoid duplicate injections

Open
#35 0 comments 0 reactions 0 assignees Claimed by @fregante View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.