and also in service-worker.js....
{
"name": "SEO",
"description": "SEO",
"author": "Petar",
"version": "1.0",
"manifest_version": 3,
"background": {
"service_worker": "js/service-worker.js"
},
"web_accessible_resources": [
{
"resources": ["js/*.js"],
"matches": ["<all_urls>"]
},
{
"resources": ["css/*.css"],
"matches": ["<all_urls>"]
},
{
"resources": ["*.html"],
"matches": ["<all_urls>"]
}
],
"externally_connectable": {
"matches": [
"*://*.
google.com/*"
]
},
"content_scripts": [
{
"matches": ["<all_urls>"],
"run_at": "document_start",
"all_frames": false,
"js": [ "js/google-scrape.js"]
}
],
"icons": {
"128": "images/icon-128.png",
"180": "images/icon-128.png"
},
"action": {},
"permissions": [
"activeTab",
"tabs",
"storage",
"gcm"
],
"content_security_policy": {
"extension_pages": "script-src 'self'; object-src 'self'"
},
"options_page": "options.html",
"action": {
"default_icon": {
"128": "images/icon-128.png"
},
"default_title": "SEO"
}
}