AO3: just my languages

CertifiedDiplodocus
2025-02-07T04:20:35Z

Reduce language options to your preferences

26/6/25 bugfix update: Config variables renamed for clarity. Paste in your saved values.

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 tool for you.

You can also autofill your preferred language when creating new works.

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 apply these settings to the dropdown there, and

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

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.

Errors in user settings (e.g. typo in a language code) are reported in the browser console.

Works on every search or browse page with language filters, including bookmarks.\ (Please let me know if this is not the case. Quick and dirty fix: remove all @exclude lines from the script.)

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