Oh and @ChrisTurk, nothing changes functionally but, var thisReq = $(this).attr('data-requester'); == var thisReq = $(this).data('requester'); in case you didn't know.
I did not.. Actually I'm sure if you look at the script you can see where I learned about some new functions mid-way through making it because I started using them more LOL (.get is a good example, dropped the method tag after 2 functions or w/e lol). This is definitely part of the 'using the command' versus 'understanding the functionality of it.' Part of my weekend project is going through and standardizing it.. aka rewriting it to not be duct tape & string. Gotta learn somehow.. guinea pigging all the fine folks here is my jam. :madscientistemojiwedon'thave:
Lol, yeah I can see it. I'll be available all weekend working on turkplus to get it up to day with my new way of coding since its all old so if you need help/someone to bounce ideas off of I'll be around. Do you guys have an IRC or anything?
@ChrisTurk If you can't tell, I'm avoid work by looking over your script lol. For the TO coloring, instead of running it 4 times, you could do something like this instead. Code: const toformat = (type, rating) => { let color = 'red'; if (rating >= 4.00) { color = 'green'; } else if (rating >= 3.00) { color = 'yellow'; } else if (rating >= 2.00) { color = 'orange'; } else if (rating === 'N/A') { color = 'grey'; } return `[b][${type}: [color=${color}]${rating}[/color]][/b]`; }; // Call it like this toTemplate += toformat('Comm', comm); toTemplate += toformat('Pay', pay); toTemplate += toformat('Fair', fair); toTemplate += toformat('Fast', fast);
I still haven't been able to get the script to work... I wonder if there is an issue with my password being too long or having escape characters in it.
You mean change Code: /* CHANGE THESE VALUES */ var user = 'forumUsername'; var pass = 'forumPassword'; To Code: /* CHANGE THESE VALUES */ var user = 'forumUsername'; var pass = encodeURIComponent('forumPassword'); or am I just being stupid as usual? Edit: looks like that worked... @ChrisTurk you might want to have it change to this in case other people besides me have long complex passwords with escape characters.
If I understand it correctly.. technically you could use the same thing for the user variable.. it just would be pointless seeing as nobody has usernames with escape characters
Hello my name is Code: Cb&X:PJwsFN3*c~#U17AfBRPAgXRnAHaoMQED9*9qk$zl^+& nice to meet you. (It would be amusing if we used keepass to generate our usernames) Edit: I had to put it in code brackets or it would make a smiley in the name lol
Ok, got it to show up on the search list, so that works. Still have plans to add support for accepted hits? I use HS and HM for smaller/batch HITs, while I use a search on TM for bigger stuff. Great work, looks good!
I see the button on mturk, but it is not showing up on HS for me. I am using Chrome. Could I be using the wrong version of HS?