Greasy Fork is available in English.

AO3: highlight fandoms in user page

Highlight favourite fandoms in user page

Verze ze dne 11. 04. 2021. Zobrazit nejnovější verzi.

Autor
CertifiedDiplodocus
Hodnocení
0 0 0
Verze
1.0
Vytvořeno
11. 04. 2021
Aktualizováno
11. 04. 2021
Licence
neuvedeno
Spustit na

Make your favourite fandoms easy to see when visiting a user's dashboard. Choose any combination of the following:

  • mark as bold
  • highlight with a single colour
  • highlight specific fandoms with custom colours, overriding the default colour (e.g. "The Hobbit", "Indiana Jones", "Naruto")

Formatting

You can add a fandom to the custom highlighting list without taking it off the main list, e.g.:

 let fandomsToHighlight = ["Original Work", "Critical Role", "Harry Potter", "Naruto", "Scooby Doo"]

 let fandomsInColour = {"Naruto":"orange"}

shows Naruto highlighted in orange.

Adding fandoms - tips

The search matches any string which contains the search text:

"Sherlock" matches "Sherlock (BBC)", "Sherlock Holmes" and "Young Sherlock Holmes",

Use regular expressions such as "^" (string start) and "$" (string end) for more control:

"^Sherlock" matches "Sherlock Holmes" but not "Young Sherlock Holmes"

"^Star Trek$" matches only "Star Trek", not "Star Trek: The Original Series"

When adding fandoms to the list, take care to escape the following special characters with a backslash "\":

. + * ? ^ $ [ ] { } | \

e.g. for House M.D. write "House M\.D\."

Parentheses () cannot currently be escaped, not sure why. As a workaround, use the wildcard "." instead: for "The Avengers (Marvel)" write "The Avengers .Marvel."

The script is currently in beta. Please let me know of any bugs, and back up your configuration in case of updates.