There are 4 previous versions of this script.
// ==UserScript==
// @name Hidden Links
// @namespace stackoverflow
// @description Add Hidden Links to post-menu
// @include http://*stackoverflow.com/*
// @include http://*superuser.com/*
// @include http://*serverfault.com/*
// @include http://*stackexchange.com/*
// @include http://*stackapps.com/*
// @exclude */reputation
// ==/UserScript==
(function(){
var start=function(){
$(".post-menu").each(function(){
id=$(this).find("a[id^=flag]").attr("id").replace(/\D+/, "");
$(this).append('<span class="lsep">|</span><a href="/posts/'+id+'/revisions">revisions</a>');
});
$(".post-menu:first").each(function(){
id=$(this).find("a[id^=flag]").attr("id").replace(/\D+/, "");
$(this).append('<br/><br/><a href="/posts/'+id+'/timeline">timeline</a>');
});
$(".revcell3.vm>div").each(function(){
guid=$(this).find("a").attr("href").match(/\w{8}(?:-\w{4}){3}-\w{12}/)[0];
$(this).prepend('<a href="#rev'+guid+'">link</a><span class="lsep">|</span>');
});
};
if(window.$){
start();
}else{
var script = document.createElement("script");
script.type = "text/javascript";
script.textContent = "(" + start + ")();";
document.body.appendChild(script);
}
})();