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或关注我们的公众号极客氢云获取最新地址