AO3: just my languages

Reduce language options to your preferences

目前為 2025-02-15 提交的版本,檢視 最新版本

作者
CertifiedDiplodocus
評價
0 0 0
版本
1.2
建立日期
2025-02-07
更新日期
2025-02-15
尺寸
14.9 KB
授權條款
GPL-3.0-or-later
腳本執行於

This script simplifies AO3's language search and filtering options. Finding fic in the right language(s) can be frustrating: whether you want to browse exclusively in English, browse in anything but English, or search through multiple languages simultaneously, this is the script for you.

Choose one or more of these features:

  1. Show only your chosen languages in the dropdown list

  2. Bold some languages to make it easier to find them in the dropdown

  3. Autofill for every search (filters can still be cleared/changed by hand):

    • Monolingual: automatically set the dropdown to your preferred language
    • Multilingual: add a query to show fic in multiple languages at once (e.g. European Portuguese AND Brazilian Portuguese, "language_id:ptPT OR language_id:ptBR")
  4. Add/remove multilingual filters with the button (𒈾) next to "Language" selector. Also works with autofill.

    When editing/creating a work you can also apply these settings to the dropdown, and

  5. Set a default language for new works (can be different from the default filtering language).

Edit the script to add your preferred languages and choose which features you want.

  • AO3 uses a mix of 2 and 3-character language codes: the full list (as of this writing) is at the bottom of the script.
  • Autofill is disabled by default as it carries the risk of hiding mistagged fic.
  • Multilingual search may place more of a load on the servers, but I am not sure how AO3 handles such queries. If your searches seem slow, try removing some languages - and let me know in the comments.

Works on every search or browse page with language filters, including bookmarks.

The script icon is the cuneiform unicode 𒈾 "NA" which, besides belonging to 𒂍𒀀 𒈾𒍢𒅕 aka Ea-nāṣir, also happens to look like a (babel)fish.