AO3: highlight author fandoms CONFIG

Config script for AO3 fandom highlighter

// ==UserScript==
// @name         AO3: highlight author fandoms CONFIG
// @namespace    https://greasyfork.org/en/users/757649-certifieddiplodocus
// @version      1.0
// @description  Config script for AO3 fandom highlighter
// @author       CertifiedDiplodocus
// @require      http://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js
// @match     http*://archiveofourown.org/users/*
// @exclude   http*://archiveofourown.org/users/YourUsernameHere/*
// @exclude   http*://archiveofourown.org/users/*/works*
// @exclude   http*://archiveofourown.org/users/*/pseuds/*/works*
// @grant        none
// @run-at       document-start
// ==/UserScript==

(function() {
    'use strict';

    window.fandomHighlighterConfig = {

        /******************************** CONFIG **********************************/
        // Edit this file with your own settings, then check that both it and     //
        // "AO3 fandom highlighter" are enabled in Greasemonkey/Tampermonkey.     //
        // When the main script updates, your configuration will be unchanged.    //
        /**************************************************************************/

        // Fill in your own username in the @exclude line above
        // to avoid lighting up your own dashboard.

        // Favourite fandoms list (regexp can be used - see below for tips)
        fandomsToHighlight: ["Original Work", "Critical Role", "Doctor Who", "Naruto", "Scooby.Doo",
                             "Holmes", "^Avatar:", "The Avengers .Marvel"],

        // Fandoms to highlight in a different colour (specify colour for each).
        //    - overrides the default colour
        //    - you can add fandoms here without removing them from the first list

        fandomsInColour: {"Die Hard":"#fda7d1", //    pink
                          "Scooby Doo":"#adf7d1", //  light green
                          "^Putin RPF":"red", //      regexp patterns can be used
                          "Naruto": "orange", // named colors work too
                         },

        // SOME NOTES ON REGEXP AND SEARCH RESULTS *******************************/

        // By default, the search matches any string containing the text in quotes:
        //     "Sherlock" matches "Sherlock (TV)", "Sherlock Holmes" and "Young Sherlock Holmes"
        // For more control, use the regex symbols "^" (string start) and/or "$" (string end):
        //     "^Sherlock" matches "Sherlock Holmes" but not "Young Sherlock Holmes"
        //     "^Star Trek$" matches only "Star Trek", not "Star Trek: The Original Series" or "Star Trek: Picard"
        // "." matches any single character:
        //     "Scooby.Doo" matches "Scooby Doo" and "Scooby-Doo"

        // SPECIAL CHARACTERS: If a fandom contains any of the following characters
        // . + * ? ^ $ { } | \
        // they must be preceded (escaped) with a backslash (e.g. "House M\.D\.")
        // for the script to work.
        //
        // ( ) and [ ]
        // must be escaped with a double backslash: "Thor \\(Marvel\\)"
        // Or just use a period, which matches any character: "Thor .Marvel."

        // FORMAT: enable/disable bold text, highlighting, and custom highlighting
        boldIsOn: true,
        highlightIsOn: true,
        customHighlightIsOn: true,

        highlightDefaultCol: 'LightYellow', // default highlight colour

    }

})();