Hey guys, with some inspiration and help from dedo I've made a little script to run which will give a list of all of a players posts from a game thread, to make rereading and looking stuff up easier.
It's not too complicated but if I haven't explained it clearly let me know.
Open up your browsers console (in Google Chrome this is just a case of right clicking anywhere and clicking 'Inspect Element' and then press the console button).
Then run this code in the console:
jQuery('.spot_h').remove()
for (var i = 84; i > 0; i--)
{
var threadURL = "/forum/general/gog_mafia_25_terror_at_tres_leches/page" + i + " .spot_h"
var $newdiv = $( "<div class='page" + i + "posts'/>" )
$( ".list_h" ).prepend($newdiv)
$( ".page" + i + "posts").load(threadURL)
}
This clears the page and loads the posts from every page on to the same page (and if that's all you wanted you could leave it there). The two bold elements can be changed, so the first number is the last page in the thread (you could also change this and the 0 to filter between two particular pages) As Hyper pointed out, make sure this is the last page for you as we all use different numbers of posts per page. The second bold element is the thread to filter, so when a new game starts just change the name and it should still work.
Once that's finished and the first post in the thread is at the top run this:
$( ".b_u_name" )
.contents()
.filter(function() {
return this.nodeType === 3;
})
.wrap( "<a></a>" )
.end()
This just tidies up the username elements so they can be searched properly.
Once that is done run this one:
jQuery('.b_u_name a:not(:contains(adaliabooks))').parents('.spot_h').remove();
Obviously you need to change the username to whoever you want to filter the posts for.
Hope it helps! :D
Post edited January 03, 2015 by adaliabooks