Possible Duplicate:
View Source link on all questions

I asked the following question on ServerFault:

How do I hide ‘non-delegated’ features in IIS 7?

Scott's answer describes a couple of xml tags that I can modify, but because he didn't use the back-tick to escape them they're hidden from view.

Because I don't have edit rights I can't open the source easily (no Edit link) to see if this indeed what was missing. After fiddling around looking around for another post that had revisions (to see how the revision list url was composed) I was eventually able to see the revision history for Scott's answer and then get at the raw markdown text via View Source:


It would be nice to either provide a link that shows the revision history for questions and answers regardless of whether they had revisions or not, or, provide a View Source link to allow us to see the raw Markdown on the revision of the post being rendered.

This would be a nice time saver because the /posts/nnnnn/revisions link doesn't immediately commit itself in memory if used infrequently.

  • Where did that 'can' go when I wrote this :)
    – Kev
    Mar 6, 2010 at 15:52
  • +1 At first I thought, just flag it for the moderator, but why should you have to wait? It's already there.
    – user141160
    Mar 6, 2010 at 16:35
  • duplicate meta.stackexchange.com/questions/24400/…
    – Lesmana
    Aug 16, 2010 at 20:34
  • @lesmana - yep you're right, well spotted because the search didn't come up with that one when I asked.
    – Kev
    Aug 18, 2010 at 0:05

1 Answer 1


GreaseMonkey Script

Install - View Source

alt text http://img704.imageshack.us/img704/1535/revisionspostmenu.png

Edit: Added links to each revision (need to reinstall to take effect)

alt text http://img691.imageshack.us/img691/8414/linkinrevisions.png

  • this needs another glyph. ;) Mar 6, 2010 at 17:09
  • 1
    hmm. also, it adds it to the post menu of the answer (which is ok, since answers have revisions too) but gives the URL of the question post (which is not, since answers have revisions too). in the case of this answer, the revisions URL should not be meta.stackoverflow.com/posts/41391/revisions but meta.stackoverflow.com/posts/41406/revisions Mar 6, 2010 at 17:12
  • 1
    Should this work in Chrome 4.0 stable (blog.chromium.org/2010/02/40000-more-extensions.html)? I see that it got added in the extensions manager but it doesn't add the revisions link.
    – Kev
    Mar 6, 2010 at 17:24
  • Same experience as Kev, using the tip of Chrome beta.
    – user50049
    Mar 6, 2010 at 17:34
  • I havn't done greasemonkey on Chrome before, but I will try to figure out.
    – YOU
    Mar 6, 2010 at 17:37
  • @S.Mark - your timeline GM script puts an anchor with a triangle next to each question title but no link at all for answers. Chrome's GM support not as good as expected? DOM differences?
    – Kev
    Mar 6, 2010 at 17:39
  • 1
    @Kev, timeline functions don't have seperate function for answers I think, timeline page combine all the activities on both questions and answers.
    – YOU
    Mar 6, 2010 at 17:41
  • @~quack, revisions link for answers are fixed, userscripts.org/scripts/show/70690 , for Chrome, I need to learn how Chrome's greasemonkey is different from Firefox greasemonkey
    – YOU
    Mar 6, 2010 at 17:48
  • @S.Mark - timeline - oh aye, doh.
    – Kev
    Mar 6, 2010 at 17:54
  • @S.Mark - ok me being thick and realised 'triangle' is delta. :)
    – Kev
    Mar 6, 2010 at 18:00
  • @S.Mark - works ok. the if clause strikes me as wonky; i think this is cleaner for getting the post id: id = $(this).find("a[id^=flag-post-]").attr("id").replace("flag-post-", ""); Mar 6, 2010 at 18:14
  • Ah, thanks @~quack, I just updated to very similar one, $(this).find('a[id][id^="flag-post-"]').attr("id").match(/\d+/)[0];, but yours looks better. I am going to use it
    – YOU
    Mar 6, 2010 at 18:23
  • @S.Mark - should this work in Chrome now?
    – Kev
    Mar 6, 2010 at 18:35
  • @Kev, still can't figure out, I'm looking into some other scripts.
    – YOU
    Mar 6, 2010 at 18:47
  • @Kev, I can now run in Chrome too (revision script), updated, userscripts.org/scripts/show/70690 - if you installed once, may be you need to uninstall first.
    – YOU
    Mar 6, 2010 at 20:22

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