Skip to content

Instantly share code, notes, and snippets.

@kurumigi
Created May 13, 2009 02:29
Show Gist options
  • Save kurumigi/110839 to your computer and use it in GitHub Desktop.
Save kurumigi/110839 to your computer and use it in GitHub Desktop.
[GM script]AutoPagerize Filter for gist
// ==UserScript==
// @name AutoPagerize Filter for gist
// @namespace http://d.hatena.ne.jp/kurumigi/
// @description Rewriting posted time if using "AutoPagerize".
// @include http://gist.github.com/*
// @include https://gist.github.com/*
// ==/UserScript==
(function() {
$ = unsafeWindow.$;
document.body.addEventListener('AutoPagerize_DOMNodeInserted',function(evt) {
if ($.fn.relatizeDate) {
$('.autopagerize_page_info:last + div .relatize').relatizeDate();
}
},false);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment