Created
August 29, 2011 05:59
-
-
Save kristi/1177853 to your computer and use it in GitHub Desktop.
Bookmarklet: See all Facebook group posts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){var%20t=0;function%20moar(){var%20e=document.querySelectorAll(%22a.pam%22);if(e.length%3E0){e[0].onclick();var%20e=document.querySelectorAll(%22input.stat_elem%22);for(var%20i=0;i%3Ce.length;i=i+1){e[i].click();}}else{t=setInterval(expand,3000);}}function%20expand(){var%20e=document.querySelectorAll(%22input.stat_elem%22);for(var%20i=0;i%3Ce.length;i=i+1){e[i].click();}if(e.length==0){clearInterval(t);}}t=setInterval(moar,1500);})(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Uncompressed code | |
// Compressed code created with | |
// http://chris.zarate.org/projects/bookmarkleter/ | |
var t=0; | |
function moar() { | |
var e=document.querySelectorAll("a.pam"); | |
if (e.length>0) { | |
e[0].onclick(); | |
var e=document.querySelectorAll("input.stat_elem"); | |
for(var i=0; i<e.length; i=i+1) { | |
e[i].click(); | |
} | |
} else{ | |
t=setInterval(expand,3000); | |
} | |
} | |
function expand() { | |
var e=document.querySelectorAll("input.stat_elem"); | |
for(var i=0; i<e.length; i=i+1) | |
{ | |
e[i].click(); | |
} | |
if (e.length==0) { | |
clearInterval(t); | |
} | |
} | |
t=setInterval(moar,1500); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment