Results 1 to 3 of 3

Thread: frame buster?

  1. #1
    Join Date
    Jan 2014

    frame buster?

    Hi I am new here. I know some HTML but no Java. I want to learn though as most everything is Java these days. Anyway, my problem is this... I have a site that I made years ago which consists of frames for easy navigating around one of my favorite sites (which is not my own site.) My frame has many links on it and lately I have tried the links pointing to that specific domain and they all break out of my frame. I viewed their source code and was able to find the following....

    (function(window) {
    if (window.location !== window.top.location) {
    window.top.location = window.location;

    Is there a way to get around this? I do not want to clickjack or anything stupid like that, I just want to be able to get around the site easily. If not I suppose I would have to target all the links to open in a new window which I don't really want to do. Any help would be appreciated! Thanks!!

  2. #2
    Join Date
    May 2006
    Somewhere behind your screen
    Java nagila,
    Java nagila,
    Java nagila,
    Ve' nismecha...
    signature under construction

  3. #3
    Join Date
    Mar 2007
    Java is not JavaScript, they are two different languages altogether.

    That is JavaScript and this is the right place to be, as for frames, frames are not supported in HTML5 which is what most browsers now support.

    You should not be trying to keep a site in your frameset if it does not want to be in another frameset.
    --> JavaScript Frameworks like JQuery, Angular, Node <--
    ... and please remember to wrap code with forum BBCode tags:-

    [CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]

    If you can't think outside the box, you will be trapped forever with no escape...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center