AO3: highlight tags V2

Configure tags to be highlighted with different colors

< AO3: highlight tags V2 피드백

리뷰: 좋음 - 잘 동작함

mkp
§
작성: 2021-04-28

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
§
작성: 2021-09-01

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 :(

Fangirlishness개발자
§
작성: 2021-10-15

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!

댓글 남기기

댓글을 남기려면 로그인하세요.