AO3: Set Default Posting Language

Sets English as the default language to post works to Archive of Our Own.

< Feedback on AO3: Set Default Posting Language

Review: Good - script works

§
Posted: 2022-03-04

This is indeed simple and incredibly useful - all I would add is that when you look at the page source, language IDs are non-numeric (English is 'en'), and that adding the worksearchlanguage_id helps cover the way that I browse.

try {
    document.getElementById("work_search_language_id").querySelectorAll("option[value='en']")[0].setAttribute("selected", "");
}
catch (error) {}
QuihiAuthor
§
Posted: 2022-07-15

Do you mean for browsing fic? I don't intend to cover search filters in this script—this is specifically for posting. I only write in English, but I browse fic in other languages. You'd be welcome to make your own version forked from this to set a default search language, if none of the existing scripts that cover default filters include language.

Post reply

Sign in to post a reply.