gzog
2/4/2016 - 9:21 PM

Custom JS: Check if in IFrame

Custom JS: Check if in IFrame

function() {
  try {
    return window.top !== window.self;
  } catch(e) {
    return false;
  }
}