Introducing TurkerHub xPort
TL;DR:
- Install the script (click here)
- Change the top 2 values (username/password) to match your forum account
- Load up mTurk or HitScraper, click the buttons next to good HITs (please don't spam the forum w/ bad HITs 'testing' it
- ??
- Help other people profit! (..and profit by saving time/hassle)
More In-Depth Explanation/Info
Purpose
Forums live and die by the HITs posted in their daily threads (over dramatic, I know). But seriously, HIT posters do a lot for us and they often go unheralded in all the hustle & bustle of trying to finish/submit HITs we all snag here. I've always thought its weird just how horrible of a process it is to actually post a HIT to a forum (or God forbid, multiple forums) so I wanted to work on streamlining the process and really encourage more HIT sharing in our community. I know folks don't love HN but fact is HITs are going to get posted somewhere, and I for one would rather see them here! :)
So here is v1 of TurkerHub xPort. It should shave off a couple seconds every time a member is nice enough to share a HIT with the community, and as all Turkers know every second is valuable! I'd love feedback, advice, & suggestions on other improvements that could be made to the script, or the process in general. But for now, onto a quick user guide.
Setup
You can install the script by going clicking this: Install Link
After installing it you'll need to change two lines around L23:
I've setup some back-end stuff to allow the script to authenticate with TH's server and post data from your account. It can't read anything private about your account, it can only authenticate & post/see publicly viewable data. Its about as secure as logging into the forum normally, its just done without the user interface. Nonetheless, please take this opportunity to review this awesome guide by @Trickydude24 about keeping your mTurk account secure!Code:/* CHANGE THESE VALUES */ var user = 'forumUsername'; var pass = 'forumPassword';
Once you've edited those two lines the script will be fully functional.
Using TurkerHub xPort
*** Please do NOT "test" the script on junk HITs. ***
I know its hard to refrain, but with multiple users installing it in short order today it'll really clog up the forum and be a general mess. Part of the reason I'm releasing it on a Friday is because traffic should be a bit lower, so go find great HITs, make big bucks, and share the wealth with your fellow weekend warriors :)
#1 - This is the export button. Clicking this will tell the script to send this HIT (and any comments you have noted on it) to the forum. Once you click it you're 100% done, the script will do the rest for you.
#2 - This is the comment box. You can make note of time, bonuses, or whatever other comments you'd make about the script here.
#3 - Previously shared HITs will be marked as unavailable to export for the rest of the day (you can repost them again tomorrow if they show back up though!). For the most part this is to cut down on spam.
#4 - Error Notice. Before posting a HIT the script will take a quick peek at the thread and make sure no one else has already posted it in the last couple of minutes. If it finds that someone has, it'll let you know. Simply clicking this notice will dismiss it, or you can ignore it if its not in your way (it wont steal focus or render the website unresponsive).
Things may be styled differently when this script overlays on top of something like Hit Scraper, but everything will function the same.
That's it. Simple, efficient HIT sharing.
Bugs, Feature Suggestions, etc
The only currently known bug with the script is that if you're using live update on the Daily HITs thread your HIT exports will not show up for some reason. Quite frankly I have no idea where to even begin with this, but I'm inclined to leave it as is since, honestly, you don't really need to see the HIT anyway so its just clutter :dunno:. Any replies or alerts your post generates will still come through without issues (and of course you can see your post if you reload the page).
Two people have already requester 'Hit Finder' support, so I'll add that in before the weekend's over (I tried to squeeze it in here in the last 20min, but didn't make the deadline, sorry!).
As for everything else, please either reply to the TurkerHub xPort Discussion Thread or shoot me a DM.
Page 1 of 2
-
@ChrisTurk two questions sir:
i) Is there anyway to adapt this for TurkMaster? A lot of the HITs I find come from stuff I've already gotten, OR, will this show up on an already accepted HIT?
2) This more forum related, is there anyway to get the link colors to be different than the normal text color? Or is this a design choice? Not a huge deal, just noticed a small bit of difficulty seeing a difference between the two on the default theme.
c) Guitars, guitars, I got nothing else, guitars. ;)
Thanks for your hard work on this! -
I have a stupid question, am i supposed to leave the ' that is before and after the username and password? Does it make a difference? It thanked me for posting, so I assume that it worked, but I can't see to check. (Obviously, I don't do much with scripts.)
-
Yes, delete the letters between the (2 ') 'Jagdpanzer' and insert your info there. Do the same for your PW.-
Like x 1
-
-
Has anyone been successful using this on HS in Firefox?
-
2) Blargh, I changed this on the dark theme, will get it done on main theme as well today.
3) I'm getting a guitar for Christmas? Yaaaay.
-
Like x 2
-
-
-
Like x 1
-
-
Cool, this is like when I had kadabot post HITs for me when I clicked a button on HF (had to route through that since MTC isn't https). Obviously this is better since you have it running straight through the forum, good job.
-
Love x 1
-
-
@ChrisTurk I'm starting my work back up on turkplus this month to get it published by the end of the year. Do you mind if I include the export straight to turkerhub in it?
-
Like x 1
-
-
I don't know how you're scraping hits for HN, but the functionality is there that this may be easier to pull from :dunno:
-
Afterwards, when I refresh, it acknowledges that the Hit has already been exported. -
-
Like x 1
-
-
-
Also, instead of running a 250ms setInterval, you should attached it to a 'DOMSubtreeModified' event so it'll just fire when new results are rendered.-
Today I Learned x 1
-
-
@ChrisTurk
Like this
Code:// ==UserScript== // @name preset // @namespace https://gist.github.com/Kadauchi // @version 1.0.0 // @description blank // @author Kadauchi // @icon http://i.imgur.com/oGRQwPN.png // @include https://worker.mturk.com/?finder_beta // @include https://www.mturk.com/mturk/findhits?match=true?finder_beta // @grant GM_log // @require https://code.jquery.com/jquery-3.1.1.min.js // ==/UserScript== if (document.URL.match(/finder_beta/)) { $('#new_hits').on('DOMSubtreeModified', () => { $('#new_hits').off('DOMSubtreeModified'); new_hits(); }); $('#log_hits').on('DOMSubtreeModified', () => { $('#log_hits').off('DOMSubtreeModified'); log_hits(); }); } const new_hits = () => { for (let hit of $('#new_hits').find('.cont:not(.th)')) { $(hit).find('button:contains(IRC)').after('<button>TH</button>'); } $('#new_hits').on('DOMSubtreeModified', () => { $('#new_hits').off('DOMSubtreeModified'); new_hits(); }); }; const log_hits = () => { for (let hit of $('#log_hits').find('.cont:not(.th)')) { $(hit).addClass('th').find('button:contains(IRC)').after('<button>TH</button>'); } $('#log_hits').on('DOMSubtreeModified', () => { $('#log_hits').off('DOMSubtreeModified'); log_hits(); }); };
-
Today I Learned x 1
-
-
-
-
-
Today I Learned x 1
-
-
HS's scroll bar goes missing every time I use it. Is anyone else having this issue? I tested it with no other scripts and it still does it. :dunno:
-
-
Like x 1
-
Page 1 of 2