modernizr-framed

1.0.2 • Public • Published

modernizr-framed

The extension detects if page loaded inside frame and if it does AND there is an global option NO_FRAMED is set to true then script loads the page inside root window.

Instalation

npm install modernizr-framed --save

or

yarn add modernizr-framed

or

bower install modernizr-framed

Usage

<script>
window.NO_FRAMED = true;
</script> 
 
<script src="path/to/modernizr.js"></script>
<script src="https://unpkg.com/modernizr-framed@1.0.2/modernizr-framed.js"></script>

License

modernizr-framed is released under the Apache-2.0 license.

Donate

Package Sidebar

Install

npm i modernizr-framed

Weekly Downloads

0

Version

1.0.2

License

Apache-2.0

Last publish

Collaborators

  • hunterman