LibraryThing custom author roles

If you constantly need to add an "Other..." type of role instead of the ones in the pre-approved list, this script will add those other roles automatically to the dropdown

Autor
Max Starkenburg
Instalaciones diarias
0
Instalaciones totales
28
Calificaciones
0 0 0
Versión
5
Creado
31/07/2015
Actualizado
31/07/2015
Licencia
Desconocida
Funciona en

The custom roles will show up when adding/editing authors both from your book-editing page and from the public/common work page.

To add to or remove the sample roles that come with the script, select the "Add custom roles..." option, which will pop up a prompt where you can change what's currently there. Likewise, to hide roles you never use from showing up in the list, click "Suppress standard roles...".* None are suppressed by default.

The roles you add or change will be saved in the browser (localStorage) so that they stick around in the future.

Please let me know if you run into any problems.

* For those using non-English LT: if you need to use a role that you've suppressed, it's better to unsuppress it instead of adding it again via "Other...". This is because of an odd bug in LT that forgets such roles on subsequent edits.