[Userscript] Unblur NSFW content
[Userscript] Unblur NSFW content
Credits: source
Change | Source | Author |
---|---|---|
Original CSS | comment#610 | ___ |
Original userscript | comment#902 | yay |
Userscript URL fix | comment#2219 | god |
Final / Affects player size | comment#21062 | FreePussy4All |
original css: by https://lemmynsfw.com/u/___
original userscript: https://lemmynsfw.com/comment/610 by my tiny fix: me
script:
// ==UserScript==
// @name lemmynsfw no blur and embed size tweak
// @version 1.2
// @description unblur
// @match https://lemmynsfw.com/*
// @match https://*/c/*@lemmynsfw.com
// @grant GM_addStyle
// @run-at document-start
// ==/UserScript==
GM_addStyle(`
.img-blur {
filter: none !important;
-webkit-filter: none !important;
-moz-filter: none !important;
-o-filter: none !important;
-ms-filter: none !important;
}
div.post-listing > iframe {
width: 100%;
height: 26rem;
}
`);
You're viewing a single thread.
Made a small tweak for opening a community from my own instance:
// @match https://lemmy.world/c/*@lemmynsfw.com
2 0 ReplyI actually removed that match from the version I'm using so it unblurs everywhere lol. Do you think that's better?
3 0 ReplyIt works, however I also started testing the old.reddit userscript and it removes nsfw blur by default. Separation of concerns failed lol
2 0 Replycould you tell me which code you copy pasted to get that result? the one i'm testing from here seems to have been last edited 6 hours ago and doesn't contain the word "blur" (I ctrl f'd). Maybe I'm looking at the wrong place?
2 0 ReplyIt is posted to this community too with the note that it unblurs images.
3 0 Reply
I didn't notice that it removes blur? it didn't for me. i will test again.
1 0 Reply
actually what I did was add more matches:
// @match https://lemmynsfw.com/* // @match https://reddthat.com/* // @match https://sh.itjust.works/*
2 0 Reply