Guest User

Untitled

a guest
Jul 15th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. function isFramed () {
  2. try {
  3. if(top.location.href != window.location.href) {
  4. return true;
  5. }
  6.  
  7. } catch (e) { // catch browser security, obviously in a frame then
  8. return true;
  9. }
  10.  
  11. return false;
  12. }
Add Comment
Please, Sign In to add comment