Forum Moderators: open
but in that frame, they've got some JavaScript that redirects the page... and it's obviously using "top.window.location=..."; it takes over the entire page.
it's breaking out of my iframe!
I really want that stuff to stay in its iframe where I put it. I think breaking out and hijacking my page is actually pretty rude.
Is there a way to stymie their framebreaker? perhaps when they call "top.window.location", it loads inside my iframe? Can I define that iframe as the "top"? ha ha
I'd really like to stay with the iframe, not open a popup window, for reasons too banal to explain
I think breaking out and hijacking my page is actually pretty rude.
Just as site owners think messing up their design by cramming their page into a frame on your site could be considered rude. :-)
If it's legit, they won't mind you asking. But no, short of disabling JS, don't think it can be done (Let the Javascript wars begin!)
However, what you could do, since I know you can server-side code, is use a cURL method to get the page and display that in your iFrame . . . but now you're scraping. <sigh>