AO3: Glossary Definition Previews

click a glossary term in the AO3 FAQ to get its definition in a dialog without leaving the FAQ page

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
escctrl
今日安裝
0
安裝總數
11
評價
0 0 0
版本
2.0
建立日期
2022-08-28
更新日期
2024-02-04
尺寸
8.3 KB
授權條款
MIT
腳本執行於

Glossary Definition Previews

In the AO3 FAQs, a lot of terms link to their glossary definitions. If you're tired of always going back-and-forth between the pages, this script is for you.

Glossary links are marked with little 🛈 info icons. Click on them to get a dialog with the description that's found in the glossary.
Now supports dark mode, multiple languages (where such translated glossaries are available), and lets you interact with the text in that dialog.


The script loads the glossary definitions once, and refreshes every 6 months.
The Glossary content changes very rarely. But if you want to force a reload, you can switch the FAQ language (e.g. French to Spanish), view one of its FAQs, then go back to your regular language. Or you can go to your Development console, view local storage, and delete the "glossary" key.


Known Issues

The dialog only opens from the FAQ page itself. If you click a link to a glossary definition from within the dialog (i.e. when a glossary definition crosslinks to another term defined in the glossary), then the whole browser page opens the Glossary.
The dialog doesn't show the title of the Glossary Term.
The dialog also doesn't close when you click outside of it. That's unfortunately not native jQuery UI Dialog behavior, and a feature for another day :) In the meantime, you can click the X button in the dialog title bar, or press the ESC key.