Imgur: Hide non-mature content

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

Maker
drgonzo67
Dagelijks aantal installaties
0
Totaal aantal installaties
120
Beoordelingen
2 0 0
Versie
1
Gemaakt op
06-04-2017
Bijgewerkt op
06-04-2017
Licentie
N.v.t.
Wordt toegepast op

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!