How to detect frames?


/ Published in: JavaScript
Save to your folder(s)



Copy this code and paste it in your HTML
  1. if ( top.location.href!= window.location.href ) {
  2. top.location.href = window.location.href
  3. }

URL: http://www.webmasterworld.com/forum21/12046.htm

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.