SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Wizard silver trophy someonewhois's Avatar
    Join Date
    Jan 2002
    Location
    Canada
    Posts
    6,364
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Breaking out of a frame?

    Searched Google, SP, can't find a thing. Hopefully someone knows.

    Basically, I want to make sure I'm not being viewed through an iframe/frame.

    I thought it was something along the lines of:

    if (this.window != parent.window) location.href=this.window

    But I don't know specifically, and that didn't appear to work. Anyone? Thanks!

  2. #2
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    You're looking for a framebuster.


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
  •