3 ms·
You're assuming that Chrome extensions can do cross-domain XHR... which I'm not sure about.
by andreyf 18y ago
You're assuming that Chrome extensions can do cross-domain XHR... which I'm not sure about.
- scotth 18y agoYup...you're right. Maybe the URLs or even embedded within the script. An extension update mechanism (if any?) could bring in new versions. But now I'm way out into conjectureland. Just thinking out loud here.
- catch23 18y agoIn firefox, the only way to do cross domain xhr was to access a javascript object outside of the browser sandbox, make the call, then send the data back. I'd be pretty confident that google chrome's version would have the same security limitations.
- andreyf 18y agoGreasemonkey lets you do it - with GM_xmlhttpRequest: http://diveintogreasemonkey.org/api/gm_xmlhttprequest.html http://diveintogreasemonkey.org/api/gm_xmlhttprequest.html