Ao3 Only Show Primary Pairing (Auto)

Hides works where specified pairing isn't the first listed.

ของเมื่อวันที่ 07-01-2024 ดู เวอร์ชันล่าสุด

ผู้เขียน
tencurse
คะแนน
0 0 0
เวอร์ชัน
1.01
สร้างเมื่อ
07-01-2024
อัปเดตเมื่อ
07-01-2024
Size
2.76 กิโลไบต์
สัญญาอนุญาต
ไม่มี
ปรับใช้กับ

Overview

As per the title, this script will show works that have the primary ship in the first tag. The difference between this and Neeve's script is that it automatically detects the primary pairing, little to no configuration needed. (See details below on the specifics.)

How it works

Navigate to a ship tag on AO3, for example: Astarion/Wyll (Baldur's Gate). The script will automatically detect the primary ship as "Astarion/Wyll" and will hide all other works where the ship tag is not the first listed.

If you want to change it so it shows works where the ship is in the the first three, change the relpad variable in the code to 3.

This script will not work if the current page is not a ship tag, ie, a fandom tag: Baldur's Gate (Video Games), or a character tag: Wyll (Baldur's Gate), or any other tag that is not a ship tag. The script will work on both "/" and "&" type of relationship tag.

Credits

See Neeve's original script here.