Stack Exchange Network
Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It only takes a minute to sign up.
Sign up to join this community
Anybody can ask a question
The best answers are voted up and rise to the top
Obsolete: The links are dead, but the forked script in the answer(s) may still work.
Screenshot / Code Snippet
Add revision links, and timeline links on all questions post menus.
Intended for development features, probably useless when the feature is actually implemented.
Tested only on Firefox 3.6, Google Chrome 10 dev, Opera 11
S.Mark - mark at my-mm dot org
source - http://userscripts.org/scripts/review/97069
12.8k55 gold badges3535 silver badges6262 bronze badges
asked Feb 16, 2011 at 8:01
5,0321818 silver badges1818 bronze badges
Here's a small and simpler updated fork. It adds only the timeline link:
// @name Stack Exchange Timeline Link
// @namespace stackoverflow
// @description Add a 'timeline' link to Stack Exchange / Stack Overflow posts - based on http://stackapps.com/questions/2047/add-timeline-and-revisions-links/4238#4238
// @include http*//*stackexchange.com/*
// @include http*//*stackoverflow.com/*
// @include http*//*serverfault.com/*
// @include http*//*superuser.com/*
// @include http*//*askubuntu.com/*
// @include http*//*mathoverflow.net/*
// @include http*//*onstartups.com/*
// @include http*//*nothingtoinstall.com/*
// @include http*//*seasonedadvice.com/*
// @include http*//*stackapps.com/*
// @exclude http*//chat*stackexchange.com/*
// @exclude http*//chat*stackoverflow.com/*
// @exclude http*//api*stackexchange.com/*
// @exclude http*//data*stackexchange.com/*
// @exclude */reputation
// @grant none
id = $(this).find("a.short-link").href.replace(/^.*\/a\//, "").replace(/\/\d+(?:#.*)?$/, "").replace(/\D+/, "");
rlink = $("<span class='lsep'>|</span><a href='/posts/"+id+"/timeline'>timeline</a>");
var script = document.createElement("script");
script.textContent = "(" + start + ")();";
answered Jul 23, 2013 at 21:35
19111 silver badge88 bronze badges
You must log in to answer this question.
Not the answer you're looking for? Browse other questions tagged
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.