AO3: Set Default to Allow Guest Comments

Defaults new works posted to Archive of Our Own to allow guest comments in addition to comments from registered users.

Fra 28.04.2024. Se den seneste versjonen.

Forfatter
Quihi
Vurderinger
0 0 0
Versjon
1.0
Lagd
28.04.2024
Oppdatert
28.04.2024
Size
691 Bytes
Lisens
MIT
Gjelder

This script will set new works posted to Archive of Our Own to allow guest comments in addition to comments from registered users.

AO3 has not made this change to the site yet, but this script should have no effect at the moment and work when the default option does switch to only allowing comments from registered users. If not, I'll fix it as soon as I can.

It should work for both posting new works (the first bit of code) and importing works (the second bit of code). It works by selecting a different radio button when you open the page to post a new work, so if you select a different option manually, that one will be used instead.

To change which option is the default, if, say, you never want to allow any comments, change the name of the button in the script. (These can be found by viewing the source code.) For no comments, these are "work_comment_permissions_disable_all" and "comment_permissions_disable_all".