next-is-in-iframe Identify if a webpage is being loaded inside an iframe or directly into the browser window. installation npm install -S @jswork/next-is-in-iframe usage import '@jswork/next-is-in-iframe'; nx.isInIframe(); // true or false resources https://stackoverflow.com/questions/326069/how-to-identify-if-a-webpage-is-being-loaded-inside-an-iframe-or-directly-into-t license Code released under the MIT license.