Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on burggit.moe
general·GeneralbyNazrin

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);
    }
}
}
})();
View original on burggit.moe
9

5 replies

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.

1

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

1

You reached the end

Tampermonkey script to unblur thumbnails and make them bigger | Spyke