Silverdog icon indicating copy to clipboard operation
Silverdog copied to clipboard

Permission to access respective host

Open ppseprus opened this issue 8 years ago • 3 comments

So.. I was lurking around the background.js and basically the console is filled with the following error message:

Unchecked runtime.lastError while running tabs.executeScript: Cannot access contents of the page. Extension manifest must request permission to access the respective host.
at chrome-extension://icmaamleblpakoebmocjdhleldklfdia/background.js:41:17

So.. is this working then, or not? : )

ppseprus avatar May 04 '17 22:05 ppseprus

I need to look into it... it sounds like content-origin policy related, but it's not the same error...

mavroudisv avatar May 05 '17 07:05 mavroudisv

I think the solution is the following list of permissions:

"permissions": [
    "storage",
    "tabs",
    "activeTab",
    "<all_urls>"
 ]

ppseprus avatar May 07 '17 20:05 ppseprus

This issue is already addressed in the PR #10.

ppseprus avatar May 07 '17 20:05 ppseprus