Title: [JavaScript] Derpibooru Comment Filter Author: Anonymous Pastebin link: http://pastebin.com/p0aCsg4M First Edit: Wednesday 23rd of October 2013 09:07:31 PM CDT Last Edit: Wednesday 23rd of October 2013 09:07:31 PM CDT // ==UserScript== // @id             derpiboo.ru-4f96a237-ad05-4a59-be26-8875986b0ddb@scriptish // @name           Derpibooru Comment Filter // @version        1.0 // @namespace       // @author         Background Pony // @description    Hides comments by certain users. Edit this userscript to add or remove filters. // @include        https://derpiboo.ru/* // @include        https://derpibooru.org/* // @include        https://trixiebooru.org/* // @include        https://derpy-hoov.es/* // @include        http://derpiboo.ru/* // @include        http://derpibooru.org/* // @include        http://trixiebooru.org/* // @include        http://derpy-hoov.es/* // @grant          none // ==/UserScript==   /*  * HOW TO USE:  *  * Find a comment on derpibooru by someone you want to block  * Right click their name -> copy link address/location  * Extract just the final hexadecimal string part from the link (https://derpiboo.ru/profiles/XXXXXXXXXXXX <- this bit)  * Add it to the "filter_users" list  * Optionally, make a note of their name and userid so you can keep track of who you've blocked.  *  */   //  These are examples, just to show how this works. They aren't real people. //      "9571a3f8759ce49f92d47b90"  Name Goes Here //      "436525767cdef53453453455"  Another Name Here   function CommentFilter () {           filter_users = ["9571a3f8759ce49f92d47b90","436525767cdef53453453455"];           function filterComment( index )         {                 if (filter_users.indexOf($(this).attr("data-user-id")) != -1)                 {                         $(this).html("");                 }         }           function filterAllComments()         {                 $("div.comment").each( filterComment );         }           $(document).ajaxComplete( filterAllComments );   }   // if __name__ == '__main__': (function () {     'use strict';       var script = document.createElement('script');       script.textContent = '(' + CommentFilter.toString() + ')();';     document.body.appendChild(script); }());