Skip to content

NVR with realtime local object detection for IP cameras

190 B
Raw Blame
export const isInIframe = (() => {
  try {
    return window.self !== window.top;
  } catch (e) {
    // If we get a security error, we're definitely in an iframe
    return true;
  }
})();