Sep. 5th, 2021

quihi: (Default)
So, I actually wrote this back on September 5, but then I never posted it. I might as well do so now!




After months of avoiding user scripts by reproducing the functionality I cared about most with site skins and uBlock Origin filters (mostly site skins), I finally came across a problem that I could not solve (on discord, because I don't post enough fic to care that much): having a default language when posting a fic to AO3. Happily, this is very easy to solve with one line of JavaScript! (The second line I have in the script is for the Import Work page, which gives the dropdown box a different name.) Figuring out the details of GreasyFork took more time.

Anyway, user script here!

Some technical details
You can change the language by swapping out the 1 in value='1' with the ID for the language of your choice, which can be found by viewing the source code of the Post New Work page (just search for the language name and you'll see it). All this does is automatically select a different default choice for the dropdown, so if you want to use a different language on occasion, you can still select it normally.


I might start using some more user scripts, if I can get them to work, and making more if there's any ideas I like or I see people want. I think anything I make would be relatively small – but easy to write doesn't always mean small in effect!


The 2022 update:

So I did post a second script awhile ago! It's here, and it adds a confirmation button before posting a work to AO3. It reassures me that I won't accidentally post when I'm trying to preview. I also started working on a script that would let me assign labels to fics and color code how they displayed based on whether I'd read them or not. I used it inconsistently, but never polished it quite enough to post, or was able to get the storage working on the proper GreasyFork way.


The 2024 update:

Apparently I never actually made this post public. It is now.

Profile

quihi: (Default)
quihi

January 2023

S M T W T F S
1234567
891011121314
151617181920 21
22232425262728
293031    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 14th, 2025 08:49 pm
Powered by Dreamwidth Studios