If for some reason you often come across on not safe for work pictures, they can easily be blocked automatically. Here's how to do it.
This is autotranslated version of this post.
NSFW Filter for Firefox automatically hide images with adult content on any website.
The settings of the extension, and the image blocking happens with the help of artificial intelligence. Therefore, it is worth considering that some images may slip past the filter. And don't forget that this only blocks images, not video.