This small add-on to Overwatch adds PandaCrazy buttons on each new HIT. Code is only five lines, but it's critical to ensure the code goes into Overwatch at the right spot. Some notes: Both PandaCrazy and Overwatch must be on Worker (this won't matter in a few days, as everything will be on worker), and make sure you have the Worker version of Overwatch installed. If you use the following addresses to access PC and OW: Overwatch: https://worker.mturk.com/overwatch PandaCrazy: https://worker.mturk.com/?filters[search_term]=pandacrazy=on EDIT: More recent PC link: https://worker.mturk.com/requesters/PandaCrazy/projects Then you should be fine. Please note that if Overwatch updates, you will need to add this again to Overwatch, as this script is an add-on, and not part of the original code. Also, this add-on is placed inside the Overwatch script, and communicates with PandaCrazy (I send the GID found in OW to PC), not the other way around. Look for this line (line 405-ish in the most current version of Overwatch): Code: $("#rightWindow").prepend(display_HTML); } The add-on code: Code: //Panda Crazy add-on starts here: function PC_Panda(){localStorage.setItem("JR_message_pandacrazy", JSON.stringify({"time":(new Date().getTime()),"command":"addJob","data":{"groupId":hitObject.GID} }));} function PC_Once(){localStorage.setItem("JR_message_pandacrazy", JSON.stringify({"time":(new Date().getTime()),"command":"addOnceJob","data":{"groupId":hitObject.GID} }));} $(`div[value='${hitObject.GID}']`).append($("<button class ='text_css offSet'>").html("Once").click(PC_Once)); $(`div[value='${hitObject.GID}']`).append($("<button class ='text_css offSet'>").html("Panda").click(PC_Panda)); $(`div[value='${hitObject.GID}']`).append($("<span class ='text_css offSet'>").html("[PC] Add: ")); The add-on code NEEDS to go in the spot between the semi-colon ( ; ) and the right brace ( } ), so it looks like this: Code: $("#rightWindow").prepend(display_HTML); //Panda Crazy add-on starts here: function PC_Panda(){localStorage.setItem("JR_message_pandacrazy", JSON.stringify({"time":(new Date().getTime()),"command":"addJob","data":{"groupId":hitObject.GID} }));} function PC_Once(){localStorage.setItem("JR_message_pandacrazy", JSON.stringify({"time":(new Date().getTime()),"command":"addOnceJob","data":{"groupId":hitObject.GID} }));} $(`div[value='${hitObject.GID}']`).append($("<button class ='text_css offSet'>").html("Once").click(PC_Once)); $(`div[value='${hitObject.GID}']`).append($("<button class ='text_css offSet'>").html("Panda").click(PC_Panda)); $(`div[value='${hitObject.GID}']`).append($("<span class ='text_css offSet'>").html("[PC] Add: ")); } If the code winds up outside the brace, the buttons may show, but not work, so make sure your code looks like the above. Thanks JR (PandaCrazy author), Ethraiel (author of Overwatch) and all the great testers who tried this out and found it useful. If you too find it useful and you want to donate, please use the Donate link above!
Yay, thanks! I got it working! This might be my first post on here, I'm not sure. I joined all the forums and I have not kept track of which ones I posted on. I go by this username on reddit too. Have a pleasant day!
From what I can tell, there has been no upgrade for OW in 58 days. In any case, where it goes hasn't changed, per the first post.
For some reason this doesn't work? It creates the task in Panda crazy but it doesn't want to search for it. It searches once and then stops and turns purple. Have I done something wrong?