// ==UserScript== // @name kilxor_20150204 // @namespace // @description // @include http://ilx.wh3rd.net/* // @include http://ilx.p3r.net/* // @include http://www.ilxor.com/* // @include http://ilxor.com/* // ==/UserScript== // YOU NEED TO MODIFY THE fules LINE BELOW // ======================================= // NB Names are now regular expressions so they should look like: // /oog/ - match a part of name // /^koo/ - match start of name // /ogs$/ - match end of name // /^koogs$/ - match entire name // /\uABCD/ - match unicode character ABCD (hexadecimal) var fules = [/koogs/,/fule2/]; var posts; // lfam // get all posts posts = document.evaluate("//*[@class='posterinfo']/*[@class='name']", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null); blocked = false; var count = 0 if (posts.snapshotLength != 0) { count++; //alert("Posts: " + posts.snapshotLength); // acd DEBUG for (var i = 0; i < posts.snapshotLength; i++) { var thisLink = posts.snapshotItem(i); //alert("ThisLink: " + thisLink); // acd DEBUG var poster = thisLink.firstChild.firstChild.nodeValue; if (poster != null) { for(var k = 0; k < fules.length; k++) { fule = fules[k]; //alert("Poster: [" + poster + "] Fule: [" + fule + "]"); // acd DEBUG // if this post belongs to this fule then blank it if (poster.match(fule)) { // find enclosing message div = thisLink; do { div = div.parentNode; //alert("Div:" + div + " : " + div.className); } while (div.className != "message"); // div = thisLink.parentNode.parentNode; div.innerHTML = "