你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/530024-ao3-wrangling-highlight-matched-chars-in-rels,源站連結 點此以跳轉。
Compares attached chars (without disambigs) and the canonical rel name to quickly determine typos or shortened rels
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.