AO3: [Wrangling] Search my canonicals for illegal characters

automatically runs a fandom-specific tag search over all your assigned fandoms, to find any canonicals with 'illegal' characters such as curly quotes or Chinese pipes

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
escctrl
日安装量
0
总安装量
54
评分
1 0 0
版本
3.0
创建于
2022-12-05
更新于
2022-12-09
大小
7.4 KB
许可证
MIT
适用于

Purpose: Some special characters from Unicode ‘’“”|–—―() look very much like ASCII to the naked eye. They should not be used in canonicals. Also, two apostrophes instead of a double-quote are bad practice. This script helps you find the canonicals that need fixing in your bins.

Instructions: Based on a tag search query that finds any canonical tags with "illegal" characters, this script trawls through each of your assigned fandoms individually. You'll only see results that YOU can fix!

  1. At the top right of a blank Tag Search page, a "Check Illegal Characters" button appears.
  2. Click it - the script will start checking in the background. The button's text will count down how many fandoms are still pending.
  3. When it finishes, the results are displayed grouped by fandom in which they were found.

Note 1: the button only appears on an empty tag search. Once you searched for something, the button does not appear anymore to avoid clicking it by accident in the course of regular wrangling.
Note 2: Works both with a vanilla tag search, or when you have the All Buttons on All Pages script enabled - the button appears at the end of the configured buttons.
Note 3: The background checking is deliberately slow, to avoid getting rate limited. It waits for 3sec between fandoms.

Alternative: If you set the configuration option COPY_SEARCH_STRING at the beginning (line 15) to true, the button will only give you the search string, which will find all those illegal characters. Then you can manually choose the fandom and tag type, and search one at a time.