Greasy Fork

FanFictionNavigator

Mark and hide fanfics or authors

目前为 2018-03-19 提交的版本。查看 最新版本

作者
Andy Scull
评分
0 0 0
版本
28
创建于
2016-12-14
更新于
2018-03-19
大小
26.4 KB
许可证
暂无
适用于

Script for fanfiction.net, archiveofourown.org, ficbook.net
Based on chrome's extenson by Stefan Hayden

Script is mostly targeted at people who read/download everything from specific category/fandom and just want to see new texts, hiding already read/disliked fanfics. You'll have to manually 'mark' each fanfic or author as you read/sort, in the end you'll be getting clear pages with all 'old' fanfics hidden from view and 'new' ones lying in plain view waiting for you to pick them up. Sorting by update date also helps here.

This script adds this functionality to fanfic search/list pages:
1. You can mark each fanfic as Like/Dislike/Mark/InLibrary.
a. they will highlighted with different colors
b. you can hide each of these categories
Like/Dislike is obvious, Mark is for those fanfics you decide to lay off for later, InLibrary is for fanfics you downloaded to your local computer (Try using Calibre with FanFicFare plugin, it rocks)
2. Mark authors as Liked/Disliked (to hide specific authors you'd never want to read)
3. Left/Right arrow keys navigate next/prev page in search or list.

My way to use this script, hope it helps someone organizing their reading lists:
1. I use Calibre to manage all my books locally, installed FanFicFare plugin which supports large number of FF sites.
2. When I see new fanfic in my watched fandom, I download it through FFF plugin in Calibre and in browser I set it as 'InLibrary'. Hide it so I don't see it again anytime soon.
3. When I read the fanfic, I either change it's category to 'Like' (and subscribe to it) or 'Dislike' (and forget it altogether)
4. When this fanfic is updated, I get email notification and just copy/paste url into Calibre to update locally downloaded text. Read it locally, too, in my preferred ebook reader.

Colors can be changed by adding a second GM script running after this one.
Uncomment styles in example below and replace color values. You can even add styles which define category combinations, ex: color for liked-author + liked-story = a.ffn_like_fic.ffn_like_author:not(a)
// ==UserScript==
// @name FanFictionNavigator - colors
// @namespace window
// @include https://ficbook.net/*
// @include https://www.fanfiction.net/*
// @include https://archiveofourown.org/*
// @include http://archiveofourown.org/*
// @include https://tbooklist.org/*
// @run-at document-end

// @grant GM_addStyle
// ==/UserScript==

// styles for box background; fic style should overwrite author style
//GM_addStyle(".ffn_like_author:not(a) {background-color:#C4FFCA !important;}");
//GM_addStyle(".ffn_dislike_author:not(a) {background-color:#bC5050 !important;}");
//GM_addStyle(".ffn_like_fic:not(a) {background-color:#C4FFCA !important;}");
//GM_addStyle(".ffn_dislike_fic:not(a) {background-color:#FCB0B0 !important;}");
//GM_addStyle(".ffn_mark:not(a) {background-color:#CCCCCC !important;}");
//GM_addStyle(".ffn_inlibrary:not(a) {background-color:#F1D173 !important;}");


And these are things I cannot add to script (I am not a web programmer):
1. Config page
2. Dynamic hide/show without page reload