diff --git a/customize.dist/template.js b/customize.dist/template.js index 0e9b3f2b9..a2b65cbec 100644 --- a/customize.dist/template.js +++ b/customize.dist/template.js @@ -6,6 +6,10 @@ define([ 'css!/bower_components/components-font-awesome/css/font-awesome.min.css', ], function ($, h, Pages, nThen) { + // we consider that there is no valid reason to load any of the info pages + // in an iframe. abort everything if you detect that you are embedded. + if (window.top !== window) { return; } + $(function () { var $body = $('body');