AO3: Replace Y/N in works with your name

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

目前為 2025-10-27 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
escctrl
評價
0 0 0
版本
2.1
建立日期
2023-10-15
更新日期
2025-10-27
尺寸
11.3 KB
授權條款
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.