I'm trying to detect chrome extensions, but I have a problem. When I try to jQuery.load()
something like
chrome-extension://jffbcpkfdlpegbadfomimojhgaaoaeed/icon.png
or some other file, I get this error:
Denying load of chrome-extension://jffbcpkfdlpegbadfomimojhgaaoaeed/icon.png. Resources must be listed in the web_accessible_resources manifest key in order to be loaded by pages outside the extension. movie.php?id=3079:1
Failed to load resource: net::ERR_FAILED
Can I avoid web_accessible_resources? I tried to change the capitalization of the filename from something like icon.png to ICON.png without success (like this).
The idea is ONLY to detect extension; nothing else.
I want to do something like this.