Closed sbahir closed 2 years ago
Found the problem:
From ContentScript, you should load the image using
chrome.runtime.getURL(<RESOURCE_PATH_IN_BROWSER>)
and not some import
from js
Make sure that you can open the path that is displayed by the browser
If you try to load any resources from
contentScript
, you will get a browser errorWhen I open the link
chrome-extension://<EXTENSION_ID>/<RESOURCE_PATH>
I can access the resource (an image in my case).I tried the solution suggested here but unfortunately it didn't work
Did anyone hit this issue?
If you have any suggestion, please let me know!