DEV Community

Discussion on: Chrome Extensions 101

Collapse
 
imcoderlg profile image
LG

But when I run the extension, there are errors, like popup.html got some error but it doesn't show it.
It just says this:
Uncaught (in promise) Error: Cannot access a chrome:// URL
Context
content/popup.html
Stack Trace
content/popup.html:0 (anonymous function)
Nothing to see here, move along.

Collapse
 
venkyakshaya profile image
Akshaya Venkatesh

You may be trying to access the extension from a "chrome://" URL. Open a different tab and retry.

Collapse
 
imcoderlg profile image
LG

Now it works! Thanks!

Thread Thread
 
venkyakshaya profile image
Akshaya Venkatesh

Yay! 😁😁