ao3 savior config

Config script for AO3 Savior userscript

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name          ao3 savior config
// @description   Config script for AO3 Savior userscript
// @namespace     ao3
// @include       http*://archiveofourown.org/*
// @grant         none
// @version       1.16
// ==/UserScript==



(function () {
  'use strict';

  /**** CONFIG ********************/
  window.ao3SaviorConfig = {
    // Edit this file to configure AO3 Savior, then ensure that both 'ao3 savior' and 'ao3 savior
    // config' userscripts are enabled in Tampermonkey/Greasemonkey. This lets you avoid having to
    // replace the config block within AO3 Savior whenever you update - since it's stored here in a
    // separate userscript, and you should only update this one manually.


    // Set to false if you don't want to see why works were hidden.
    showReasons: true,

    // Set to false if you don't want to see the expandable "This work is hidden!" boxes.
    showPlaceholders: true,

    // Set to true if you want to be alerted when visiting a blacklisted work from outside AO3
    alertOnVisit: false,

    // Exclude works with an author that exactly matches at least one term.
    authorBlacklist: ['Hated Author 1', 'smeyer'],

    // Excludes works with a title that matches at least one term. Use * for wildcard.
    titleBlacklist: ['The Catcher in the Rye', 'Sylvester And The Magic Pebble', 'Five times*'],

    // Exclude works with a tag that matches at least one term. Use * for wildcard.
    tagBlacklist: ['dobby', 'jar jar binks', '*mimes'],

    // Include works by these authors, even if they also match any of the blacklists.
    authorWhitelist: ['astolat'],

    // Include works matching these tags, even if they also match any of the blacklists.
    tagWhitelist: ['glitter'],

    // Exclude works with summaries that contain at least one term
    summaryBlacklist: ['horse-sized ducks', 'duck-sized horses', "bee's knees"]
  };
  /********************************/

}());