public marks

LINK

Curiosity is bliss: XMLHttpRequest - Security Bypass

by decembre
While trying to help Dare make his MovieFinder page run in Firefox, I ran into an issue that can make developing AJAX applications a pain: when testing your pages, you need to host them in the same domain as your services. I explain the details of the problem and how the "XMLHttpRequest - Bypass Security" Greasemonkey user script solves it. Note: this script is meant for development only, as it gives the page access to a potentially dangerous API. The default @include is "file:///*", but feel free to restrict it even further to the path for the pages you're trying to tweak. You should never have to @include an http ur

Comments

No comment on this link yet.


PUBLIC TAGS
on this link

ajax   dev   development   firefox   greasemonkey   javascript   Request   requete   securite   security   tutorial   tutoriel   xml  

BY

decembre
the 04/06/2009 at 09:28