您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Replace certain words on AO3 fanfics with new ones of your choosing
Replace certain words in AO3 fics with new ones of your choosing. E.g. name replacements in reader-insert fics, triggers, etc.
Note that this does not replace text in URLs/links, because doing so can break links and lead you to non-existent pages.
Word replacements are case sensitive.
Instructions:
1. Go directly into the script editor (For TamperMonkey, click on the TamperMonkey extension > Dashboard > Click on the script itself, it should take you automatically to the script editor)
2. Scroll down to the CONFIGURATION SECTION
3. Configure the word replacement dictionary as you want
- !! WORDS ARE CASE SENSITIVE !!
- The format is:
"old word" : "new word",
Example: You want to change all instances of "pancakes" to "waffles" in the fic
Insert a line of code:
"pancakes" : "waffles",
(Remember to keep the comma at the end.)
- Alternatively, you can just edit the placeholder code lines with the words you want.
4. After making changes to the word replacement dictionary, save the script (Ctrl+S or whatever hotkey) and then refresh AO3 to see the word replacement changes.