4
rated 0 times
[
10]
[
6]
/ answers: 1 / hits: 53480
/ 12 Years ago, fri, february 22, 2013, 12:00:00
chrome.tabs
returns undefined despite the fact I set tabs in the permissions block.
"permissions": [
"tabs",
"http://*/*",
"https://*/*"
],
"content_scripts": [
{
"matches": [
"http://*/*",
"https://*/*"
],
"js": [
"js/myScript.js"
],
"all_frames": true
}
],
But in myScript.js
, chrome.tabs
is undefined
.
More From » google-chrome