4

As a contributor to Charcoal, I often find that the spam and offensive mask (i.e. "this post was deleted as spam or offensive and is therefore not shown, see the revision history") just gets in my way at times.

Can I please get a user script that removes this mask, and makes the spam post show on the page as if the masking feature didn't exist?

3
  • If anyone needs a spam post for testing, this post is quite likely to have been deleted as spam. Oct 27, 2018 at 10:53
  • Only 10K users would be able to use this feature unless, maybe, the original body can be pulled from Metasmoke? Oct 27, 2018 at 16:21
  • @BrockAdams There is an upvote now. I think it's fine for use by >10k users only, since they're the only ones who run into the masked spam message. In Charcoal, other users can see the post source on metasmoke; it's only if the user wants additional context that they'd actually click on the post (which does happen with me from time to time).
    – gparyani
    Oct 27, 2018 at 17:39

1 Answer 1

6

I've written a simple script for this, called NSFW (because it shows content that is Not Suitable For Work). It will only work if you have 10k reputation (2k on beta sites); otherwise, you probably won't see the post anyway. The link to the revision history will be added to the 'post menu' with the share, edit and flag links.

You can install it here (directly from GitHub).
Source code is here.

Developed and tested with Violentmonkey on Firefox, but should work on other browsers/monkey as well.

Known issues

  • Posts containing code snippets will have those snippets show as plain code text and not as a runnable snippet.
  • Due to SE changes, this script does not currently work on the international sites (sites whose UI is in a language other than English).

Screenshot

You can see it in action in the screenshot below (behind a spoiler, it's NSFW after all…)

enter image description here

5

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .