你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/530024-ao3-wrangling-highlight-matched-chars-in-rels,源站連結 點此以跳轉

AO3: [Wrangling] Highlight Matched Chars in Rels

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



點此查看下載連結位址https://update.greasyfork.org.cn/scripts/530024/AO3%3A%20%5BWrangling%5D%20Highlight%20Matched%20Chars%20in%20Rels.user.js

安装此脚本?
作者
escctrl
日安装量
0
总安装量
4
评分
0 0 0
版本
0.3
创建于
2025-03-16
更新于
2025-03-17
大小
2.6 KB
许可证
MIT
适用于

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.