Log in

View Full Version : script for frame target



smoketer
11-16-2007, 03:34 AM
OK... I can't seem to find what I'm looking for, and I'm not sure if this is the right place to ask, but...

I want to have two frames on a html page. both frames show external pages i.e.:

<frameset rows="50%, 50%">
<frame src="internet banking site#1">
<frame src="internet banking site#2">
</frameset>

The problem is that links on both sites are set to goto "target=_blank" OR they just overtake the current frame (take over the whole window)

Is there a script out there that will force ALL links in a framed window to goto "target=_parent" regardless of what the links specify in the individual websites?

FYI - for those that will ask about the legal questions of putting these sites on my web page, this is for personal use on my pc only.

BLiZZaRD
11-16-2007, 05:24 AM
Depends on the sites. A lot of sites, including those with a financial status (banks, lending companies, paypal, etc.) are coded to jump out of frames, so as they can not be spoofed.

Since you do not own the respective sites you can not change their links. I don't know of any over riding effects, but if there are you will find them on the "bad" side as those are going to run into legal issues, no matter who or how it is used.