Forum Moderators: open

Message Too Old, No Replies

Loading a "frame-busting" site in an Iframe

         

MrSchmidt

8:23 pm on Nov 6, 2005 (gmt 0)

10+ Year Member



I'm aware that websites can set-up their pages so that they CAN'T load in someone elses frames or iframes. Is there a javascript or other way to keep someone elses site IN A FRAME even if they have it set up not to.

I'm not doing this for a malicious reason or to steal their content. I have a site that does page analysis and I wanted visitors to see the site (page) they're analyzing in an iframe.
Thanks,
ED

Staffa

8:45 pm on Nov 6, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I don't know if there is such a script but I do know that you will be banned by many webmasters to access their site.

MrSchmidt

9:15 pm on Nov 6, 2005 (gmt 0)

10+ Year Member



"you will be banned by many webmasters to access their site"

I understand that, but if they seen the context in which it was being shown, I think most would understand and realize it's being done for research/analysis and that only.

tedster

9:27 pm on Nov 6, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I know it's possible -- Yahoo Image Search breaks framebusting scripts in both IE6 and Firefox (but not Opera). But try as I might to analyze their complex and intentionally obfuscated script, I haven't been able to learn how it works.

Even though this is a major search engine that sends significant traffic, I learned about it from webmasters who are VERY upset that it happens.

encyclo

1:34 am on Nov 7, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I know how to disable frame-busting scripts when viewing a framed page in most IE6 installations (I'm slightly hesitant to say exactly how to do it, even though the information is publically available). I don't know of a method for Firefox, but as tedster says, it can be done.

I can see the interest in doing what you are doing, but the site owners have placed frame-busting scripts on their sites for a reason, and I'm not sure that unilaterally attempting to break their scripts it a good approach. Are you working with specific sub-set of known sites, or could any site on the net be chosen via your tool?

MrSchmidt

1:50 am on Nov 7, 2005 (gmt 0)

10+ Year Member



"could any site on the net be chosen via your tool?"

Any site that that can be accessed via Googles API search index. It's an option I've added to one of my existing sites.

Staffa

7:48 am on Nov 7, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



"I think most would understand and realize it's being done for research/analysis and that only."

While I appreciate your point, why would webmasters give you their bandwidth and work (pages) for the apparent sole benefit of your site?

MrSchmidt

12:58 pm on Nov 7, 2005 (gmt 0)

10+ Year Member



It's a SEO tool/site owners tool. Most site owners and webmasters would check for their own sites specs. The site appears in the iframe when the page firsts loads and after that information from the SEO tools appears in it.

tedster

5:54 pm on Nov 7, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes, I can see that. There's also a good chance then that people would check their competition's spec as well -- and that's where trouble might lie.

Staffa

6:02 pm on Nov 7, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



"Most site owners and webmasters would check for their own sites specs."

Good, then just put a note up at the point of input to tell the webmaster to turn off their frame busting script to use your tool.

If they are really interested in what you have to offer they will do so.

However, don't try and bust the frame buster on someone's site or as mentioned previously you will get in trouble.

MrSchmidt

6:14 pm on Nov 7, 2005 (gmt 0)

10+ Year Member



"then just put a note up at the point of input to tell the webmaster to turn off their frame busting script to use your tool."

Good idea...I'll do that!
Thanks

Jon_King

6:44 pm on Nov 7, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'd like to see you bust that Yahoo image search. Tedster is right that's a tough one.

MrSchmidt

6:53 pm on Nov 7, 2005 (gmt 0)

10+ Year Member



I looked at the Yahoo image search code after tedster mentioned it.....way over my head!

kaled

7:42 pm on Nov 7, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Unless the Yahoo code manages to disable javascript entirely on the page, I don't see a problem. Surely you could use setTimeout() to break out after a second or so.

Having taken a quick look at the code, it doesn't appear to disable either the setTimeout() function or the location object but I could be mistaken.

Kaled.

tbear

11:11 pm on Nov 7, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Uh, ohhhhhh........
:)

stapel

1:35 pm on Nov 8, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



MrSchmidt said:
I wanted visitors to see the site (page) they're analyzing in an iframe.... It's a SEO tool/site owners tool. Most site owners and webmasters would check for their own sites specs.

Surely most site owners are familiar with what their sites look like...?

So why, precisely, would you need to frame their sites?

Eliz.