// ==UserScript==
// @name phpBB forum signature purger
// @namespace http://www.lysator.liu.se/~jhs/userscript
// @description Drops big chunks of signatures/poster stats in phpBB forums
// @include http://*/viewtopic.php?t=*
// @include http://*/viewtopic.php?p=*
// ==/UserScript==
(function() {
purge( 'postbody', /
_{16,}
/mi );
function get( path )
{
var type = XPathResult.ORDERED_NODE_SNAPSHOT_TYPE;
var nodes = document.evaluate( path, document.body, null, type, null );
var result = new Array( nodes.snapshotLength );
for( var i=0; i