modernizr-framed 1.0.2 • Public • Published 8 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
Versions Version Downloads (Last 7 Days) Tag 1.0.2 0 latest
Version History Version Downloads (Last 7 Days) Published 1.0.2 0 8 years ago 1.0.1 0 8 years ago 1.0.0 0 8 years ago
Package Sidebar Install Downloads Weekly Downloads