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.
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.
Customizing "AO3: Kudos tools"
Date: 2019-03-11 04:56 am (UTC)Follow the first three steps in "to start editing a userscript" above to go into the userscript you want, then:
(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']
;
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).