fregante/webext-dynamic-content-scripts

Use `dropOverlappingPermissions` to avoid duplicate injections

Open

#35 opened on Feb 19, 2022

View on GitHub
 (0 comments) (0 reactions) (0 assignees)TypeScript (14 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (92 stars)
PR merge metrics
 (PR metrics pending)

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 function, this module can clean up the additionalPermissions list before trying to inject the scripts.

Contributor guide