1.0.2 • Published 7 years ago

modernizr-framed v1.0.2

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
7 years ago

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

npm.io npm.io