Results 1 to 3 of 3

Thread: frame buster?

  1. #1
    Lisa is offline Member
    Join Date
    Jan 2014
    Posts
    2
    Rep Power
    0

    Default 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....

    <script>
    (function(window) {
    if (window.location !== window.top.location) {
    window.top.location = window.location;
    }
    })(this);
    </script>

    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
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,328
    Rep Power
    25

    Default Re: frame buster?

    That looks like javascript which is not java. Try asking your question on a javascript forum.
    If you don't understand my response, don't ignore it, ask a question.

  3. #3
    Lisa is offline Member
    Join Date
    Jan 2014
    Posts
    2
    Rep Power
    0

    Default Re: frame buster?

    Thanks Norm! Boy do I feel dumb! I will post in a javascript forum instead.

Similar Threads

  1. Replies: 6
    Last Post: 04-12-2013, 06:33 AM
  2. Replies: 4
    Last Post: 01-18-2011, 08:22 AM
  3. Java slave Frame access to its owner main frame problem
    By cagdaseckin in forum New To Java
    Replies: 0
    Last Post: 12-10-2010, 10:40 AM
  4. Replies: 7
    Last Post: 11-02-2009, 06:31 PM

Posting Permissions

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