Sign up ×
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It's 100% free, no registration required.

Screenshot / Code Snippet

Partial screenshot of additions


Add revision links, and timeline links on all questions post menus.
Intended for development features, probably useless when the feature is actually implemented.


probably CC-BY-SA



Tested only on Firefox 3.6, Google Chrome 10 dev, Opera 11
(Linux versions)


S.Mark - mark at my-mm dot org


Userscript (javascript) using existing Stack Overflow jQuery

source -

share|improve this question
Note: if you have SEModifications installed, this userscript isn't needed. – nyuszika7h Feb 25 '11 at 21:31
Hey @Mark, FYI possible bug. – Lazer Mar 5 '11 at 8:21
Thanks @Lazer, I have updated my script, please install it again. (I have moved timeline link to another line.) – YOU Mar 5 '11 at 9:12
nice one! but now superseded by SEModifications which adds further features – Tobias Kienzler Sep 17 '11 at 10:51
If you're still maintaining this, I'd suggest changing the ID detection to something like id=$(this).find('a[class="short-link"]').attr("href").replace(/\/[aq]\//, "").replace(/\/\d+/, "");. That way it works on sites where you don't have an account or aren't logged in. – mmyers Apr 2 '13 at 16:02

1 Answer 1

I've made a small updated fork, which is simpler. It adds only the timeline link. And it works today. And I will most likely maintain it (while I use any SEN site):

// ==UserScript==
// @name           StackExchange Timeline Links
// @namespace      stackoverflow
// @description    Add a timeline link to current question in the Stack Exchange Network
// @include*
// @include*
// @include*
// @include*
// @include        http://**
// @exclude        */reputation
// ==/UserScript==

    var start=function(){
            id = $(this).find("a.short-link")[0].href.replace(/^.*\/a\//, "").replace(/\/\d+(?:#.*)?$/, "").replace(/\D+/, "");
            rlink = $("<span class='lsep'>|</span><a href='/posts/"+id+"/timeline'>timeline</a>");
            return false;

    var script = document.createElement("script");
    script.type = "text/javascript";
    script.textContent = "(" + start + ")();";
share|improve this answer
nifty, thanks... – Tshepang Oct 9 '13 at 20:31

You must log in to answer this question.

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