ao3 savior config

Config script for AO3 Savior userscript

  1. // ==UserScript==
  2. // @name ao3 savior config
  3. // @description Config script for AO3 Savior userscript
  4. // @namespace ao3
  5. // @include http*://archiveofourown.org/*
  6. // @grant none
  7. // @version 1.16
  8. // ==/UserScript==
  9.  
  10.  
  11.  
  12. (function () {
  13. 'use strict';
  14.  
  15. /**** CONFIG ********************/
  16. window.ao3SaviorConfig = {
  17. // Edit this file to configure AO3 Savior, then ensure that both 'ao3 savior' and 'ao3 savior
  18. // config' userscripts are enabled in Tampermonkey/Greasemonkey. This lets you avoid having to
  19. // replace the config block within AO3 Savior whenever you update - since it's stored here in a
  20. // separate userscript, and you should only update this one manually.
  21.  
  22.  
  23. // Set to false if you don't want to see why works were hidden.
  24. showReasons: true,
  25.  
  26. // Set to false if you don't want to see the expandable "This work is hidden!" boxes.
  27. showPlaceholders: true,
  28.  
  29. // Set to true if you want to be alerted when visiting a blacklisted work from outside AO3
  30. alertOnVisit: false,
  31.  
  32. // Exclude works with an author that exactly matches at least one term.
  33. authorBlacklist: ['Hated Author 1', 'smeyer'],
  34.  
  35. // Excludes works with a title that matches at least one term. Use * for wildcard.
  36. titleBlacklist: ['The Catcher in the Rye', 'Sylvester And The Magic Pebble', 'Five times*'],
  37.  
  38. // Exclude works with a tag that matches at least one term. Use * for wildcard.
  39. tagBlacklist: ['dobby', 'jar jar binks', '*mimes'],
  40.  
  41. // Include works by these authors, even if they also match any of the blacklists.
  42. authorWhitelist: ['astolat'],
  43.  
  44. // Include works matching these tags, even if they also match any of the blacklists.
  45. tagWhitelist: ['glitter'],
  46.  
  47. // Exclude works with summaries that contain at least one term
  48. summaryBlacklist: ['horse-sized ducks', 'duck-sized horses', "bee's knees"]
  49. };
  50. /********************************/
  51.  
  52. }());