public
Created

Expand someone's facebook wall

  • Download Gist
fb_expand.js
JavaScript
1 2 3 4 5 6 7 8 9 10 11 12 13
//Run this on the person's facebook profile page to expand the wall
var INTERVAL=2000; // Time between wall expansions, in milliseconds
var MAX_TRIES=50; // How many times to try expanding the wall
 
function expand(){
var foo=document.getElementById('profile_pager').children[0].children[0].children[0].children[0].onclick;
if (typeof(foo)!='undefined'){
foo();
}
}
for (var i = 1; i < MAX_TRIES; i++){
setTimeout(expand,i*INTERVAL);
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.