AO3: Set Default Posting Language

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

< 腳本AO3: Set Default Posting Language的回應

評論:正評 - 腳本一切正常

§
發表於: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 work_search_language_id helps cover the way that I browse.

try {
    document.getElementById("work_search_language_id").querySelectorAll("option[value='en']")[0].setAttribute("selected", "");
}
catch (error) {}
Quihi作者
§
發表於: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.

發表回覆

登入以回覆

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址