Imgur: Hide non-mature content

Adds a button to Imgur.com that hides all non-mature image links on the page

Forfatter
drgonzo67
Daglige installasjoner
0
Totale installasjoner
120
Vurderinger
2 0 0
Versjon
1
Lagd
06.04.2017
Oppdatert
06.04.2017
Lisens
I/T
Gjelder

This script is a bit of a hack, but I've seen this asked for many times, so I decided to take a swing at implementing it.

Since Imgur doesn't offer a way to show only content that is marked as Mature, and many people want to be able to do that, this GM script adds this ability to it.
When installed, it adds an ugly button at the top of the page called "Hide non-mature content" that will hide all the thumbnails that are NOT marked as mature. If you load more thumbnails and press it again, it will filter the new ones as well. You can also load them in advance, by scrolling down the page, and then the script will filter everything at once.
The filtering process is a bit slow and annoying as it has to go link by link, but it works... I'm happy to get any feedback on how to make it better!