Main World Content Script not working on localhost
I've created an extension using plasmo, with default code
When the world is set to MAIN i don't get the console.log on localhost, it works on any other url, but if i use it in ISOLATED world it works.
Anyone knows the solution? I am using a react app with vite
When the world is set to MAIN i don't get the console.log on localhost, it works on any other url, but if i use it in ISOLATED world it works.
Anyone knows the solution? I am using a react app with vite
Solution
Solved
Was able to solve it by modifying the manifest in package json.Updated manifest :
Basically added http in host_permissions, it was https only by default.