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.
Author
Max Starkenburg
Daily installs
0
Total installs
6
Ratings
0 0 0
Version
5
Created
Updated
License
N/A
Applies to
  • librarything.co.uk
  • librarything.com
  • librarything.de
  • librarything.net
  • librarything.org

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

Share