Imgur: Hide non-mature content

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

Auteur
drgonzo67
Installations quotidiennes
0
Installations (total)
120
Notes
2 0 0
Version
1
Créé
06/04/2017
Mis à jour
06/04/2017
Licence
N/A
S'applique à

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!