On Jul 17, 2007, at 10:17 AM, vikranth diddige wrote:

> <script language="javascript">
> if(top.location != self.location)
> top.location = self.location.href;
>  
> The above code snippet is causing the problem.
>
Yup. This is pretty much the canonical "frame-buster" script. If you 
are dead-set on running this page within the context of your page, you 
are going to need a pretty sophisticated proxy or screen-scraper 
application to run a complete browser session from your server against 
the Yahoo pages, and then gather the input from that session into 
something you can display within your page. You are not going to be 
able to get past this little bit of code and get the Yahoo page to run 
in your user's browser through your frame (i- or otherwise).

Once again, can you give us the "elevator pitch" of what your 
application is supposed to do? What does it mean to "upload a website" 
as you describe it? What do you do with these "uploaded" sites?

Walter


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to