NSFW 是“工作不安全”的首字母缩写词。(acronym)您可能已经看过很多次了,特别是作为照片和声音片段的警告。当内容有可能因色情、暴力或其他不适当的材料而导致某人被解雇时,使用该首字母缩略词。
反正这就是它的本义。随着时间的推移,NSFW已经发展到适用于任何可能让人不舒服的内容。从本质上讲,如果您看到它附在某物上,请在与其他人共享内容之前将屏幕转开并自己检查一下。
网站如何使用 NSFW 标签
奇怪的是,NSFW标签很少用于极端血腥。通常情况下,会使用“生命不安全”或NSFL标签来代替它。NSFW几乎总是会涉及裸体、色情内容或图形语言(graphic language)。
一些网站已经开始为用户提供阻止NSFW内容的能力。在某些情况下,内容会被模糊,您必须单击模糊的图像或视频才能显示内容。这可能在 subreddit五十五十(Fifty Fifty)中最好地看到,其中发布的图像可能是好的或坏的。找出答案的唯一方法是点击。
警告:subreddit 上的大部分内容都非常恶心,但它是NSFW过滤器的一个很好的例子。查看帖子内容的唯一方法是单击指向其Imgur页面的链接。
如何使用 NSFW(How to Use NSFW)
无论您是在社交媒体上还是网站所有者,并且您想警告用户某些内容可能不适合他们,有时NSFW都适合使用。
在发布任何内容之前,先问问自己:
- 这是否包含色情内容、粗俗语言或其他不当材料?
- 我可以让孩子看到这些内容吗?
- 会不会让人不舒服?
- 有人会因为在工作中看到这一点而失去工作吗?
如果其中任何一个问题的答案是“是”,只需在标题中加上“NSFW”即可。这只是对收件人的快速提醒。它让他们知道,也许最好等到他们独自查看链接,或者至少不要在公司或学校的计算机上单击它。
如何创建 NSFW 过滤器(How to Create a NSFW Filter)
如果您想模糊NSFW内容,有几种方法可以为您自己的网站创建过滤器。第一种是使用计算机视觉(Computer Vision)和PixLab API的自动化方法。要使用此方法,您必须实现PixLAB API。通过PixLab API Key调用(PixLab API Key)API,将自动测试图像是否为NSFW。
图像将收到一个数字分数。图像越接近“1”,NSFW 就越多。当然,这一切都在后台运行,但实际上将代码引入您的网站需要一些时间,并且您需要熟悉如何使用您网站的语言进行编码。
您可以在 dev.to 上找到它如何工作(how it works on dev.to)的详细信息,以及在 github 上找到实际代码(actual code on github)。
另一种选择是简单地链接到图像。这需要更多的手动输入,但不是在博客文章中嵌入图像,而是警告读者它是NSFW,然后提供链接。如果他们点击链接,请确保他们在点击之前有足够的预警。
第三种选择是依赖自动化服务,如imagga、Microsoft 的Azure Content Moderator或类似服务。其中许多是付费服务,但如果您运营网站或专门论坛并且没有审核团队,则此类工具可以帮助简化日常管理。
您还可以使用其他选项。您可以将用户帖子绑定到Facebook帐户。例如,如果他们的朋友少于 50 个,则限制他们的发帖能力,直到图像可以被人查看。您还可以为用户提供“报告”按钮,让他们自行报告他们遇到 的NSFW图像。(NSFW)
What Does NSFW Mean And How To Use It
NSFW is an acronym for “not safe for work.” You’ve likely seen it around quite a bit, specifically as a warning on photos and sound clips. The acronym is used when the content has the potential to get someone fired from their office due to pornographic, violent, or otherwise inappropriate material.
That’s its original meaning, anyway. As time has gone on, NSFW has evolved to apply to any content that might make someone uncomfortable. Essentially, if you see it attached to something, turn your screen away and check it out yourself before you share the content with anyone else.
How Sites Use the NSFW Tag
Curiously enough, the NSFW tag is only rarely used for extreme gore. More often than not, the “not safe for life,” or NSFL tag, is used in its place. NSFW is almost always going to involve nudity, sexual content, or graphic language.
Some sites have begun to provide users the ability to block content that is NSFW. In some cases, the content will be blurred out and you have to click the blurred image or video to show the content. This is perhaps best seen in the subreddit Fifty Fifty, where an image is posted that may be something good or something bad. The only way to find out is to click.
Be warned: Much of the content on the subreddit is downright disgusting, but it serves as a good example of a NSFW filter. The only way to see the content of the post is to click the link to its Imgur page.
How to Use NSFW
Whether you’re on social media or you’re a website owner and you want to give users warning that some of the content may not be for them, there are times when NSFW is appropriate to use.
Before posting anything, ask yourself:
- Does this contain sexual content, crude language, or otherwise inappropriate material?
- Would I be okay with a child seeing this content?
- Could it make someone uncomfortable?
- Would someone potentially lose their job for seeing this at work?
If the answer to any of those questions is “yes,” just toss a “NSFW” into the title. It’s just a quick heads-up to the recipient. It lets them know that perhaps it’s better to wait until they’re alone to view the link, or at the very least to not click it when on a company or school computer.
How to Create a NSFW Filter
There are a few ways to create a filter for your own website if you want to blur NSFW content. The first is an automated method that uses Computer Vision and the PixLab API. To use this method, you must implement the PixLAB API. By calling the API through a PixLab API Key, images will be automatically tested whether they are NSFW or not.
The image will receive a numerical score. The closer the image is to “1,” the more NSFW it is. Of course, this all works in the background, but actually introducing the code to your website takes a bit of time and you will need to be familiar with how to code using the language of your site.
You can find the details of how it works on dev.to and the actual code on github.
Another option is to simply link to the image. This requires much more manual input, but rather than embedding an image in a blog post, warn the reader that it is NSFW and then provide a link. If they follow the link, ensure they have enough forewarning before clicking.
A third option is to rely on automated services like imagga, Microsoft’s Azure Content Moderator, or similar services. Many of these are paid services, but if you run a website or a dedicated forum and you don’t have a moderation team, tools like this can help simplify day-to-day management.
There are other options available to you, as well. You can tie user posts to a Facebook account. For example, if they have less than 50 friends, restrict their posting capabilities until images can be reviewed by a human. You can also provide a “Report” button for users to self-report NSFW images they come across.