Skip to content

Instantly share code, notes, and snippets.

@dotsonjb14
Last active December 20, 2015 21:20
Show Gist options
  • Save dotsonjb14/f64fb2c9e8fc76d92d36 to your computer and use it in GitHub Desktop.
Save dotsonjb14/f64fb2c9e8fc76d92d36 to your computer and use it in GitHub Desktop.
novel updates scripts
// ==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