Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Modernizr
- .addTest('iframe', function() {
- return window.top.location != window.location;
- })
- .addTest('facebook', function() {
- return !! ~ location.href.indexOf( 'fb_sig_in_iframe=1' );
- });
Add Comment
Please, Sign In to add comment