Customizing "AO3: Kudos tools"

Date: 2019-03-11 04:56 am (UTC)
arduinna: a tarot-card version of Linus from Peanuts, carrying a lamp as The Hermit (0)
From: [personal profile] arduinna
This is more intimidating on the face of it, but it's easy to set up, I swear. The one thing to remember is that this is a case-sensitive script, so if your name is capitalized on the archive, it needs to be capitalized here, too.

Follow the first three steps in "to start editing a userscript" above to go into the userscript you want, then:
  • Look for this:
      (function($) {
      $(document).ready(function(){

      var kudos = $(".kudos a", $("#feedback")),
      k_btn = $('#new_kudo input'),
      k_sum = $('#kudos_summary'),
      usr = 'YOUR_USERNAME', // Your username
      tlist = []
      // Usernames of people whose kudos you want to see more easily.
      // Follow the example to list the names:
      // ['user_a', 'user_b', 'user_c']
      ;

  • Replace YOUR_USERNAME with your AO3 username, capitalized correctly to match your archive name. Do not touch the single quotes or comma.
    • That's it! If all you want are the green kudos button and green background on your name in the kudos list, you're done.

  • If you want to highlight other people's names in the kudos list:
    • Add each name you want, capitalized correctly, between the brackets where it says tlist. Each name should be enclosed in single quotes and be followed by a comma and a space (the final name just needs the single quotes).
    • Don't delete the square brackets
    • That's it! The names you included will appear with a dark grey background with white text.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

Page generated Jul. 22nd, 2025 09:53 am
Powered by Dreamwidth Studios