Imgur: Hide non-mature content

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

Autor
drgonzo67
Instalaciones diarias
0
Instalaciones totales
120
Calificaciones
2 0 0
Versión
1
Creado
06/04/2017
Actualizado
06/04/2017
Licencia
Desconocida
Funciona en

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!