Last active
December 20, 2015 21:20
-
-
Save dotsonjb14/f64fb2c9e8fc76d92d36 to your computer and use it in GitHub Desktop.
novel updates scripts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Novel Updates Reading List Scripts | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2 | |
// @description try to take over the world! | |
// @author Joseph Dotson | |
// @match http://www.novelupdates.com/reading-list/ | |
// @grant none | |
// @run-at document-end | |
// ==/UserScript== | |
/* jshint -W097 */ | |
'use strict'; | |
// Your code here... | |
console.log("loaded rlist script"); | |
(function () { | |
var title = $("h3:contains('Reading List')"); | |
title.append(" ("); | |
var action = $("<a>") | |
.attr("href", "javascript:void 0;") | |
.text("only unread") | |
.click(function () { | |
$('.tablesorter .bmhide:empty').closest('tr').remove(); | |
}) | |
title.append(action) | |
title.append(")"); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment