-1

YQL as a Cross-Domain Proxy for an iFrame

Hi Guys,

I'm working on a web application based mainly in jQuery that essentially loads any domain through YQL into an iFrame exactly as it were to look ( and then runs some additional JS on it). The problem I'm running into is that YQL sanitizes and runs tidy on HTML.

I want to preserve exactly what was retrieved from the server and then after that I am going to go through with regex or jQuery and replace all local image/script calls and prefix them with http://requesteddomain.com/ . Then I am going to inject that content into an iFrame... essentially I am rebuilding that page only through the proxy of YQL.

Does anyone know if this is possible -- can I prevent the HTML sanitization?

Is there a way to turn off HTML Tidy for YQL and perserve exactly what was received from the server?

Thanks,
Mike

by
1 Reply

Recent Posts

in YQL