Imgur: Hide non-mature content

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

יוצר
drgonzo67
התקנות יומיות
0
סה"כ התקנות
120
דירוגים
2 0 0
גרסה
1
נוצר
06-04-2017
עודכן
06-04-2017
רישיון
לא זמין
חל על

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!