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.
- 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).
You can see it in action in the screenshot below (behind a spoiler, it's NSFW after all…)