Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission to access respective host #6

Open
ppseprus opened this issue May 4, 2017 · 3 comments
Open

Permission to access respective host #6

ppseprus opened this issue May 4, 2017 · 3 comments
Assignees

Comments

@ppseprus
Copy link
Contributor

ppseprus commented May 4, 2017

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? : )

@mavroudisv
Copy link
Member

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

@mavroudisv mavroudisv self-assigned this May 5, 2017
@ppseprus
Copy link
Contributor Author

ppseprus commented May 7, 2017

I think the solution is the following list of permissions:

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

@ppseprus
Copy link
Contributor Author

ppseprus commented May 7, 2017

This issue is already addressed in the PR #10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants