Skip to content

@aseemk /index.html secret
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Facebook comments, prevent mobile version on iPad
<div class="fb-comments" data-num-posts="5"><!-- other data- attributes as desired --></div>
<script>
if (navigator.userAgent.match(/\biPad\b/)) {
document.querySelector(".fb-comments")
.setAttribute("data-mobile", "false");
}
</script>
<div id="fb-root"></div>
<script>(function(d){
var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
js = d.createElement('script'); js.id = id; js.async = true;
js.src = "//connect.facebook.net/en_US/all.js#appId=__YOUR_APP_ID_HERE__&xfbml=1";
d.getElementsByTagName('head')[0].appendChild(js);
}(document));</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.