Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Timestamps & Topic List
- // @namespace http://www.gamefaqs.com
- // @match *://www.gamefaqs.com/*
- // @version 1
- // @grant none
- // ==/UserScript==
- $(function() {
- var boardListLink = $('ol.crumbs li:nth-child(2)').find("a").attr("href");
- if (boardListLink)
- {
- $('li.unav').after("<li><a href=\""+boardListLink+"\">Topic List</a></li>" );
- }
- $('.post_time').each(function() {
- var time = $(this).attr( "title" )
- var ago = $(this).html()
- $(this).html(time+" ("+ago+")")
- $(this).attr( "title" , ago)
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement