homepage Welcome to WebmasterWorld Guest from 54.145.243.51
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Breaking all links out of iframe
without modifying each link
robjones

10+ Year Member



 
Msg#: 8854 posted 5:51 am on Oct 15, 2004 (gmt 0)

Hi,
Does anyone have a tip on how to do this?
The page I want loaded into the iframe is not my own page and I cannot change the links.
I did a search of the forums but could not find a solution, thanks in advance.

 

mincklerstraat

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 8854 posted 9:09 am on Oct 15, 2004 (gmt 0)

This would be called 'screenscraping' and in most circumstances can get you into trouble. You need to be sure that you have some kind of right to that content - either 'fair use', which is really, really shaky, or else explicit permission from the content owner. You'll need to learn some advanced scripting to pull it off. Google 'screenscraping tutorial' + your favorite scripting language to learn more.

robjones

10+ Year Member



 
Msg#: 8854 posted 9:45 am on Oct 15, 2004 (gmt 0)

Hi,
I'm not trying to steal anyone's content, I'm trying something on a page I use personally - specifically, opening several search engines in one page.
If I remember correctly, screenscraping involves modifying the external page (maybe wrong); is there no way I can control from my own page the location of the links clicked in the iframe?

kaled

WebmasterWorld Senior Member kaled us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 8854 posted 11:05 am on Oct 15, 2004 (gmt 0)

If I understand you correctly, you might be able to use javascript and assign the document.base object of the framed file. If that doesn't work I don't think anything else will.

Kaled.

robjones

10+ Year Member



 
Msg#: 8854 posted 5:36 am on Oct 31, 2004 (gmt 0)

Sorry for the delay in replying.
I didn't realise it was so involved to do something like this, but thanks for that tip, I'll have a look into it.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved