AO3: [Wrangling] Highlight Matched Chars in Rels

Compares attached chars (without disambigs) and the canonical rel name to quickly determine typos or shortened rels

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
escctrl
Daily installs
0
Total installs
4
Ratings
0 0 0
Version
0.3
Created
2025-03-16
Updated
2025-03-17
Size
2.57 KB
License
MIT
Applies to

Works only in the canonical rel bin!

in this part of the code, you can set which colors the highlight should use

    // CSS styling for the highlighted chars
    $('head').append(`<style type="text/css">
        .highlight-found { background-color: #313c36; }
        .highlight-notfound { background-color: #664040; }
        </style>`);

✅the .highlight-found class is used on the rel's text, to show which characters were successfully matched.

⚠️the .highlight-notfound class is used in the character column, on characters which were not found.

Please report any issues where the matching logic or the highlighting logic fails.