Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Javascript
Posted by: Mikael Malmgren
Added: Aug 2, 2018 12:58 PM
Views: 5
Tags: no tags
  1. function() {
  2.   try {
  3.     return window.top !== window.self;
  4.   } catch(e) {
  5.     return false;
  6.   }
  7. }