Lawrence
Lawrence

Reputation: 15

chrome webkit - tabs permissions

When I add the permissions of "tabs" to my manifest file and then load the unpacked extension, I receive the following error message: "Access to permission "tabs" denied." I am using Chrome v.17.0.963.56 m

Upvotes: 1

Views: 346

Answers (1)

Mohamed Mansour
Mohamed Mansour

Reputation: 40199

Make sure your manifest is structured correctly. Something like this:

{
  ...
  "permissions": ["tabs"],
  ...
}

It must be within that permission, try to reload more than once, sometimes version 17 is flaky where the permissions do not reload.

Remember, that tabs is only available through Extensions, not Apps. So your most likely getting an error because your packaging it up as an app instead of an extension (You have an "app" attribute in your manifest"

Upvotes: 1

Related Questions