Greasy Fork

Shined up real nice.

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

After trying this script, you can ask a question about it, review it, or report it.
Max Starkenburg
Daily installs
Total installs
0 0 0
Applies to

Author's Description

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.
Gm custom roles 04 Gm custom roles 03