Hey there, I was just wondering if there’s a way to restrict my add-on’s permissions to a specific path/query on a website. For example, I would want my add-on to only be active on example.com/foo
. However, if I specify this in the manifest.json
:
"permissions": ["*://*.example.com/foo"]
The extension still activates on example.com
. I can filter out the URLs in my script, but I would like users to feel more private, and it could also prevent bugs if my code is bad. It’s not a huge deal, but I would prefer to grant my add-on the strictest restrictions.