AO3: Replace Y/N in works with your name

replaces Y/N and other placeholders in xReader fic with the name of your choice

Автор
escctrl
Установок в день
0
Всего установок
170
Оценки
0 0 0
Версия
2.0
Создан
15.10.2023
Обновлён
22.10.2023
Лицензия
MIT
Работает на

Purpose

Automatically replaces "Y/N" and other placeholders within xReader fic, where they stand in for your own name or features.

Configuration

Comes with a few common placeholders out of the box, but you can add and change them as needed -- in a GUI!

  1. Open a work
  2. You'll have a new "Userscripts" option in the main menu bar.
  3. From it, you can select the "Replace Y/N" option. This opens the GUI.
  4. To start using the feature, you have to enable the "Replace text automatically" checkbox and select "Save".



"Reset" deletes all configuration and disables the feature.
Every change to the configuration (Save or Reset) will automatically refresh the page, so you can see the changes take effect immediately.

Tips

  • The default placeholders are some of the commonly used ones, to give you a starting point. You can modify them as needed.
  • Select the "+Add more" button to add more rows for entering additional placeholders, like "(e/c)" for eyecolor... or whatever authors have used.
  • If you enter the same placeholder with and without brackets (e.g. "(Y/N)" and "Y/N") make sure to put the one in brackets first. The script runs through the placeholders in order. If the text contains my name is (y/n) and the "y/n" placeholder is replaced first, you'll end up with my name is (something) with the brackets still showing.
  • The script does not warn you if you configure the same placeholder for different texts. Only the first occurrence will be used.
  • You can also use this script to replace other words you don't want to see... can't stand the word "moist"? Replace it with "damp"!
  • You can temporarily disable the auto-replace in case it interferes with other fic, by disabling the "Replace text automatically" checkbox and selecting "Save". All configuration will be kept, but the script won't change the work text anymore.