Human-Shaped said:
Been a year but I'll ask again :]I love the 'Blackhole Blacklist' feature! Could you possibly do the same for the 'Random' button on the Posts page?
It's silly but
1.) It's a potential time sink if you're the curious type
2.) You can still land on blacklisted stuff which sucksMaybe that and other parts of the site in general having the option to be blackholed/hidden could be useful. Less clutter is nice :]
Hi, I've quickly clobbered together a tiny script to get rid of the Random links. (You may need to quote me to copy the code properly, but it should work fine.)
// ==UserScript== // @name No Random Post on e621 // @namespace https://e621.net/user/show/97563 // @version 0.1 // @description Removes the "Random" link(s) from the post index and post pages. // @author EsalRider // @match *://e621.net/post/* // @match *://e926.net/post/* // @grant none // ==/UserScript== (function() { 'use strict'; var nl = document.querySelectorAll('a[href="/post/random"]'); for (var i = 0; i < nl.length; i++) { var p = nl[i].parentElement; if (p.childNodes.length > 1) { // Removing from sidebar p.removeChild(nl[i].nextSibling); p.removeChild(nl[i]); } else { // Removing from sub-navigation bar p.parentElement.removeChild(p); } } })();
Also, you can always search for order:random if you want random posts without seeing blacklisted content.
Updated by anonymous