Tampermonkey script to unblur thumbnails and make them bigger
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);
}
}
}
})();
5 comments
Thanks, it worked on firefox mobile
2 0 ReplyThanks 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 0 ReplyThis is very appreciated, thank you for offering this up to the community!
1 0 ReplyThanks, yoinking this :p Maybe you should also add this to greasyfork?
1 0 Reply