I got this code :
manifest.json
{
"manifest_version": 3,
"name": "AutoClicker",
"version": "1.0",
"permissions": ["activeTab", "scripting"],
"background": {
"service_worker": "background.js"
},
"host_permissions": ["*://*/*"],
"content_scripts": [
{
"matches": ["<all_urls>"],
"js": ["content.js"]
}
],
"action": {}
}
I’m trying to test it on a local file , but whenever i try it i got this :
Error executing script: Error: Cannot access contents of the page. Extension manifest must request permission to access the respective host.
i searched for the permission and i couldn’t find it , any help ?
I tried to run that script on a local host file , but i get an error that i don’t have permission