Greasy Fork is available in English.

AO3: highlight tags V2

Configure tags to be highlighted with different colors

< Feedback on AO3: highlight tags V2

Review: Good - script works

mkp
§
Posted: 28.04.2021

The new regex options took this to an entirely new level, I'm so psyched - the original was one of my non-negotiable, must-install user scripts and this one is even better. I took a note from CertifiedDiplodocus's book and looked up how to make the tags case-insensitive as well!

Just to give you an idea of how absolutely amazing and essential this script has become to my AO3 experience, here are a few screenshots of it in action:

Ria
§
Posted: 01.09.2021

Oh wow. If you ever wanted to share that on pastebin i'd nab it in a milisecond, i've populated my highlights pretty well but wow, you took it to the next level.
i did have a question, how did you make it case insensitive? you're supposed to add (?i) somewhere from what i've seen but i can't tell where :(

§
Posted: 15.10.2021

If you would like the matching to be case insensitive, you have to replace the line

var pattern = new RegExp(key, "g")
with
var pattern = new RegExp(key, "gi")

I hope this helped. Glad you're enjoying the script!

Post reply

Sign in to post a reply.