when I use:
<img src="chrome://favicon/http://www.google.com.hk"/>
in my extension.It got something wrong.It warned
"Not allowed to load local resource:chrome://favicon/http://www.google.com.hk"
How can I fix it?
Double-check to make sure you've added the "chrome://favicon/"
permission.
Is this a "manifest_version" : 2
extension? I'm not familiar with them, but they may require that you specify a Content Security Policy that allows this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With