Friendly Frame
Usage in child frame
XFrame detection
; ; // #=> true
To test if a window is used in an iFrame, pass a queryStringParameter (default is xframe=1
) from the parent.
History syncing
; const history = FriendlyFrame;
; ; // #=> true
To test if a window is used in an iFrame, pass a queryStringParameter (default is xframe=1
) from the parent.
; const history = FriendlyFrame;
npm i friendly-frame
0
0.0.2
MIT
206 kB
4