Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// ==UserScript==
// @name RaumZeitDeponifier
// @namespace
// @description Removes images from RZL blogposts which are likely to contain ponies
// @include
// @include*
// @include
// @include*
// @version 1
// @grant none
// ==/UserScript==
$(document).ready(function () {
* The following line implements an elaborated algorithm to predict which
* blogposts have a high probability to contain pony pictures. In the
* spirit of "worse is better" the algorithm is designed to match very
* fuzzy and to favour false postives over false negatives.
* The author is quite happy with the results, YMMV though.
var p = $('div.rzl-blogpost-meta > p.rzl-user:Contains(abrock)').parent().prev();
/* Hide images in suspicious blogposts. */
$('img', p).hide();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.