The NSFW HTML Attribute
phaln writes "Over at The Frosty Mug Revolution, PJ Doland makes a compelling case for a new HTML attribute in the spirit of the highly-regarded 'nofollow' attribute promoted by Google — the NSFW attribute (rel='nsfw'). His original idea has been refined and expanded by positive comments from readers, resulting in a semantic solution to the issue he raises in the original post. From the article: 'Content creators can apply the attribute to paragraph tags, div tags, or any other block-level element. Doing so will indicate that the enclosed content is not safe for work. Visitors will be able to configure their browsers to block display of just the content enclosed by the flagged block-level element. This isn't about censorship. It is about making us all less likely to accidentally click on a goatse.cx link when our boss is standing behind us. It is also about making us feel more comfortable posting possibly objectionable content by giving visitors a means of easily filtering that content.'"
his needs a sitewide solution, too - "nofollow" has robots.txt, so why not have nsfw.txt?
Or for some sites, just:
Could be useful.
perl -e 'foreach(values %SIG){$_="IGNORE";}while(){}'
At first glance, this almost sounds reasonable, until you stop and think about it. It relies on the content creator to somehow guess what's "objectionable," and put the tag in the appropriate place. That's always assuming they're going to bother, and that every browser is going to go and put the ability to properly render this in.
If it passes, I can see a whole new range of "NSF" attributes. "Not safe for children.(NSFC)" "Not safe for (fill in the blank)". Now that I think about it, the NSFC tag would have a certain appeal, but it's still a dumb idea.