Please Help with Removed Code for Frame Breaking

Discussion in 'jQuery' started by Infoterial, Sep 22, 2011.

  1. #1
    Hi,

    I recently removed the code to stop frame breaking, but yet my site still breaks frames. Am I missing something?

    if(top!=self){top.location.replace(document.location);alert("For security reasons, framing is not allowed; click OK to remove the frames.")}
    Code (markup):
    It was located in a js file and not in the header. Also, the site is in my sig.

    Thanks DPers!
     
    Infoterial, Sep 22, 2011 IP
  2. Infoterial

    Infoterial Active Member

    Messages:
    180
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    81
    #2
    Okay, Got it fixed. Guess I didn't delete it the first time or though I did.

    Thanks!
     
    Last edited: Sep 23, 2011
    Infoterial, Sep 23, 2011 IP