Welcome to WebmasterWorld Guest from 54.224.57.95

Forum Moderators: incrediBILL

Message Too Old, No Replies

Killing a frame killer

     
6:13 am on Dec 6, 2000 (gmt 0)

WebmasterWorld Senior Member littleman is a WebmasterWorld Top Contributor of All Time 10+ Year Member



<script>
if(top.location != document.location)
top.location = document.location;
</script>
This is a handy code to jump out of a frame. One of my clients uses it, and I need to disable this function. Is there a way to do this with some code on my frame
page?
10:21 am on Dec 6, 2000 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



littleman, I don't think there can be such a code. It would open the door to recursive loops and potential security hazards, by letting you overwrite someone else's page.

Edited by: tedster

1:18 am on Dec 7, 2000 (gmt 0)

WebmasterWorld Senior Member littleman is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Well, that's not good! I actually had to pull the clients pages through my server and strip out the code before I hand it off in the frame. How's that for an elaborate work around?
12:33 am on Feb 12, 2001 (gmt 0)

10+ Year Member



control freak.
1:44 am on Feb 12, 2001 (gmt 0)

WebmasterWorld Senior Member marcia is a WebmasterWorld Top Contributor of All Time 10+ Year Member



>>control freak

LOL..and clients pay $ to webmasters to take control, that's what keeps us in business. They give us control when they need us, and we're happy to help.

Which brings up a question. I've seen a lot of graphics sites that I suppose get pulled up in a lot of frames, that have a link saying "if you're trapped here in a frame, click here to break out of it."

Can it ever cause problems to click on those, beyond possibly crashing IE?

IE is still not overly fond of javascript, I crash regularly from the popup banners on a particular web host's sites (different issue, but it's still kind of IE related).

Worst thing that ever happened to me was getting trapped on a site and having a graphic on it set itself as wallpaper on my computer - I actually got frantic over it.

Woz

2:01 am on Feb 12, 2001 (gmt 0)

WebmasterWorld Senior Member woz is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Marcia,

you could try this free little app from [mantadb.com...] (Sorry folks, IE only).

The original purpose behind the program is to index your history and make it searchable. Quite usefull. As a bonus it includes a frame-buster button which has not crashed IE for me yet.

Free app, I'm not affiliated..

Onya
Woz

2:09 am on Feb 12, 2001 (gmt 0)

WebmasterWorld Senior Member marcia is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Thanks Woz, I will take a look...I am one of these people that uses the browser that "came with" and I have to admit I even use the MSN start page - because it "came with" and I never bothered to change it.
5:46 am on Feb 12, 2001 (gmt 0)

WebmasterWorld Senior Member littleman is a WebmasterWorld Top Contributor of All Time 10+ Year Member



>control freak.
*laugh*
8:22 am on Feb 12, 2001 (gmt 0)

WebmasterWorld Senior Member marcia is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Exactly littleman, Microsoft is controlling me by default. LOL..that's the way they do it!
 

Featured Threads

Hot Threads This Week

Hot Threads This Month