I have this manifest.json and inn "matches":[]
, I am suppose to put in the URL this Chrome extension will work on. Is it possible to have this work with any website?
manifest.json:
{
"name" : "OpenTok Screen Sharing",
"author": "TokBox, Inc.",
"version" : "1.0",
"manifest_version" : 2,
"minimum_chrome_version": "34",
"description" : "This Chrome extension is developed primary for http://tokbox.com/. It doesn't do anything except capture content of your screen.",
"homepage_url": "http://tokbox.com/",
"background": {
"scripts": ["background-script.js"],
"persistent": false
},
"content_scripts": [ {
"js": [ "content-script.js" ],
"all_frames": true,
"matches": ["https://*.example.com/*"]
}],
"icons": {
"16": "logo16.png",
"48": "logo48.png",
"128": "logo128.png"
},
"permissions": [
"desktopCapture"
],
"web_accessible_resources": [
"icon.png"
]
}