Tampermonkey script to unblur thumbnails and make them bigger

// ==UserScript==
// @name         burggit
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        https://burggit.moe/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=burggit.moe
// @grant        none
// ==/UserScript==

(function() {
{var css = [
    "    .img-blur {",
    "        filter: none !Important;",
    "        max-height: 160px !Important;",
    "    }"
].join("\n");
if (typeof GM_addStyle != "undefined") {
    GM_addStyle(css);
} else if (typeof PRO_addStyle != "undefined") {
    PRO_addStyle(css);
} else if (typeof addStyle != "undefined") {
    addStyle(css);
} else {
    var node = document.createElement("style");
    node.type = "text/css";
    node.appendChild(document.createTextNode(css));
    var heads = document.getElementsByTagName("head");
    if (heads.length > 0) {
        heads[0].appendChild(node);
    } else {
        // no head yet, stick it whereever
        document.documentElement.appendChild(node);
    }
}
}
})();
9 points · 5 comments · view on lemmy.world

5 Comments

basket@burggit.moe · 2 pts · 3y

Thanks, it worked on firefox mobile

Burger@burggit.moe · 1 pts · 3y

Thanks for sharing this. I tried finding out how to make the thumbnails bigger, but Lemmy's documentation is pretty lacking and so it requires me to dig around on their git repository just to find stuff to configure.

Disabled@burggit.moe · 1 pts · 3y

This is very appreciated, thank you for offering this up to the community!

neo@lemmy.comfysnug.space · 1 pts · 3y

Thanks, yoinking this :p Maybe you should also add this to greasyfork?