Now I Have a Blog TooNow I Have a Blog Too Christopher Finke is a software engineer at Mahalo. He is available for birthday parties and bar mitzvahs.

NSFW Detector

Problem: You work in an office. You may occasionally browse non-work websites. These websites may occasionally link to pages that may be Not Safe For Work (NSFW).

Proposal: If websites indicated somehow that links (and the link text) were NSFW, your browser could screen them out or tone them down to avoid embarrassing you or costing you your job. *

Solution: The NSFW Firefox extension. It checks each page for links that are indicated to be NSFW, either with rel="nsfw" or class="nsfw", and applies a set of CSS rules to the links. These customizable rules could remove the links entirely, make them semi-transparent, or even make them stand out more, if that's what you're going for.

* Or you could, you know, just not view non-work websites at the office. :-)

3 Responses to “NSFW Detector”

  1. PJ Doland Says:

    Glad to see you took the new spec and ran with it.

    What will your extension do with non-link elements (div, img, p, etc.) that have a class="nsfw" ?

  2. Christopher Finke Says:

    For the time being, it only looks for "a" elements because for other elements like div and span, the :hover property isn't implemented in such a way that the user can easily un-obscure the content. I'll be working on this problem for the next release, at which point the extension should pay attention to rel="nsfw" or class="nsfw" on all elements.

  3. Derrick Pallas Says:

    You should create a page for arbitrary classification (not just nsfw) on the microformats wiki. (I believe PJ's discussion was on the microformats list.)

Leave a Reply