SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: Frame buster

  1. #1
    HAHA!
    Join Date
    Mar 2006
    Posts
    656
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Frame buster

    I came accross this code on a free games site.

    Code:
    <script  type="text/javascript">
      
      function FrameBuster() {
      	if (top!=self)
      	top.location=self.location;
      }
      </script>

    I think that code is supposed to bust frames (as the name suggests ) so that noone can leech bandwidth by displaying free games in a frame. Am I right?

  2. #2
    He's No Good To Me Dead silver trophybronze trophy stymiee's Avatar
    Join Date
    Feb 2003
    Location
    Slave I
    Posts
    23,424
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    If the game is in a web page it will bust it out of a frame. If they are linking to the file directly that won't stop it.

  3. #3
    HAHA!
    Join Date
    Mar 2006
    Posts
    656
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If they are linking to the file directly that won't stop it.
    that can be taken care of with a .htaccess as far as I know.

  4. #4
    He's No Good To Me Dead silver trophybronze trophy stymiee's Avatar
    Join Date
    Feb 2003
    Location
    Slave I
    Posts
    23,424
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    That is correct.


Bookmarks

Posting Permissions

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