Updated Scripts for the New Site

Discussion in 'General' started by Flora, Dec 15, 2017.

  1. Turker2013

    Turker2013 User

    Joined:
    Apr 10, 2013
    Messages:
    935
    Likes Received:
    9
  2. Flora

    Flora Administrator
    Staff Member

    Joined:
    Jul 16, 2012
    Messages:
    53,948
    Likes Received:
    7,728
  3. Turker2013

    Turker2013 User

    Joined:
    Apr 10, 2013
    Messages:
    935
    Likes Received:
    9
    Someone is trying to make one. I'll have to test it. The idea is to capture the page load time and the page unload time, and calculate the difference. This will count returned HITs. However, this database is going to work with the status_detail pages, and since that only goes back 150 days, it will probably be set up to purge the database of anything older than that. This isn't going to be anything fancy. I hope it will be okay that it only saved things for 150 days since it's simply going to be tying assignment ID in the database to the assignment ID on the status_detail pages.

    Also, does anyone want a script to bring back classic All HITs pages? I have one. Will probably upload it sometime in the future.
     
  4. tscreener

    tscreener User

    Joined:
    Nov 25, 2012
    Messages:
    7,091
    Likes Received:
    684
    I would totally like that...let me know if you do.
     
  5. Turker2013

    Turker2013 User

    Joined:
    Apr 10, 2013
    Messages:
    935
    Likes Received:
    9
    To which script? Keeping track of time for HITs, or changing the All HITs linked to a certain URL?

    The ClassisAllHITsLink script would change "All HITs" to a link that should show what it would be if it weren't for the changes. This, however, does not change the fact that when completing your queue, it goes to worker.mturk.com and shows the last search results. In other words, this clearly finds links containing "All HITs" on worker.mturk.com/* and changes it to a specific URL. I don't have a copy of that URL on this computer. It will be apparent though when looking at the code for when I do eventually upload it.

    To me, it seems "dumb" for "All HITs" to show anything but All HITs. As "All HITs" should mean all the available HITs for a worker, and not the latest search result!
     
    tscreener likes this.
  6. FibonacciSequence

    Joined:
    Aug 16, 2013
    Messages:
    400
    Likes Received:
    2

    I don't understand why hiding a match would be helpful so can't comment on that
    .
     
  7. FibonacciSequence

    Joined:
    Aug 16, 2013
    Messages:
    400
    Likes Received:
    2
    I personally have gotten used to the All Hits Page and now that I'm using your MakesTitleFit script I'm fine with it...except for the TO1 icon not being accessible on that page.
     
  8. Turker2013

    Turker2013 User

    Joined:
    Apr 10, 2013
    Messages:
    935
    Likes Received:
    9
    Does the MakeTitlesFit script interfer the TurkOpticon script/addon you're using? If so, let me know the browser, browser version, and script you are using to see if I can get a workaround done for the MakeTitlesFit script.

    Also, a Blacklist script can be useful if your search results are polluted with 20bn or ScoutIt HITs, for example.
     
  9. Turker2013

    Turker2013 User

    Joined:
    Apr 10, 2013
    Messages:
    935
    Likes Received:
    9
    The HowLongDidITake script will record when the HIT was last opened, when it was unloaded, to determine the time duration. It will then save this in a database (for no more than 150 days). This database will be used to modify worker.mturk.com/status_details/2018-01-14 to show how long it took to do the HIT. Once the script it complete, I need to test it for a number of days.
     
    tscreener likes this.
  10. FibonacciSequence

    Joined:
    Aug 16, 2013
    Messages:
    400
    Likes Received:
    2

    I am using both TO1 and TO2 scripts. Only TO2 is accessible on the main Hits page as the icon for TO2 is underneath the icon for TO2 so only TO2 opens up when I mouse over it. (If I open the Requestor into a new window then they are separated in different rows and I access both TOs that way.) I am using the latest version of Firefox Quantum - 57.0.4. I am not having a problem with MakeTitlesFit. In fact if the requestor's name is long and has to wrap then it bumps the TO1 icon up just enough to where I can scroll over it to access it. But that is few and far between to have long requestor names that wrap.

    Ahh, so Blacklist is the Block requestor feature that was the Block Requestor script that I have on Tampermonkey (does that one not work anymore?) and wasn't it part of another script that also gave the option to block titles, leave yourself a note, and get requestor ID number (or something like that)?
     
  11. FibonacciSequence

    Joined:
    Aug 16, 2013
    Messages:
    400
    Likes Received:
    2
    I look forward to using it.
     
  12. Turker2013

    Turker2013 User

    Joined:
    Apr 10, 2013
    Messages:
    935
    Likes Received:
    9
    I do believe some other scripts or addons had a way to block/blacklist requesters. However, I wanted a standalone one. Someone made one for me. It lets me block by requester ID or HIT ID. There's a toggle button and a way to manage the list, so I can remove them from the list. Also, I can export to clipboard and import too.
    Example of an export to clipboard:
    Would you mind telling me which T.O. scripts or addons you're using? I'll see if someone can look into it. Perhaps there is a way to patch it.

    Personally, I'm using TO1 (through a modified mmmturkeybacon Color Coded Search with Checkpoints script.) I'm not a fan of TO2 or TV as I'm worried about fragmentation. I'd rather see the people in charge of TO1 to just implement TO2 into the TO1 reviews to begin with rather than have a separate site.

    Let me be clear about the HowLongDidITake script. It's only going to save data for about 150 days since that's how far we can go back in the status_details section. It's not going to be something that can export data. It's meant to work through the website and that's it. I hope that's okay.
     
    #212 Turker2013, Jan 15, 2018
    Last edited: Jan 15, 2018
  13. parro

    parro User

    Joined:
    May 28, 2016
    Messages:
    4,566
    Likes Received:
    369
    After "No hits found" , I would like the page to default back to your queue rather than All-Hits. Is taht possible?
     
  14. Turker2013

    Turker2013 User

    Joined:
    Apr 10, 2013
    Messages:
    935
    Likes Received:
    9
    The page it goes to after completing the queue is worker.mturk.com, which use to represent "All HITs" before January 11th. I'd have to ask someone about this. I don't know how complicated it'd be. In the meantime, I suggest using the feedback link to complain about changes you don't like.
     
  15. FibonacciSequence

    Joined:
    Aug 16, 2013
    Messages:
    400
    Likes Received:
    2
    Ah, ok on the Blacklist. I wonder if the Block Requesters script I have in Greasemonkey works. I haven't seen a button to use it while working.

    For the TO only? I am using both Turkopticon and Turkoptiscript in Greasemonkey. I like the color chart on TO1. Makes it easier to quickly read.

    I just wanted to see my time SPENT on a hit right after I finished. So the 150 days would be extra for me. I've never exported anything so no worries there.
     
  16. Turker2013

    Turker2013 User

    Joined:
    Apr 10, 2013
    Messages:
    935
    Likes Received:
    9
    Do you have a link to the Turkopticon and Turkoptiscript that you're using?

    My biggest concern about the HowLongDidITake script is database size. With 3800 potential HITs per day (completed and returned HITs) times 150 days, I wonder if it will stop working properly at some point.
     
  17. parro

    parro User

    Joined:
    May 28, 2016
    Messages:
    4,566
    Likes Received:
    369
    I don't think it ever did that, so there's no change.
     
  18. Turker2013

    Turker2013 User

    Joined:
    Apr 10, 2013
    Messages:
    935
    Likes Received:
    9
    I thought it did that before January 11th's change.
     
  19. Turker2013

    Turker2013 User

    Joined:
    Apr 10, 2013
    Messages:
    935
    Likes Received:
    9
    This is an unlisted script. Please don't share this outside this thread. This script is in a testing-phase only. It might not work on all HITs. If survey times are vital, do not rely on this script. Please do not private message me any bugs (except for the two members who already have a conversation started). Instead, please leave feedback on the script page below if you have a greasyfork account.

    https://greasyfork.org/en/scripts/37464-howlongdiditake
     
  20. FibonacciSequence

    Joined:
    Aug 16, 2013
    Messages:
    400
    Likes Received:
    2
    Hopefully this will help you. To make sure I got the right ones I clicked on Greasemonkey and clicked the Edit on both scripts.
    moz-extension://6f99c9f6-f1a7-4314-9b1e-986c8ab8ee89/src/content/edit-user-script.html#af69deeb-89ae-47f9-985b-a2dd51203aa4

    moz-extension://6f99c9f6-f1a7-4314-9b1e-986c8ab8ee89/src/content/edit-user-script.html#83f1d3ce-97d1-433d-b58d-141e96d3463
     

Share This Page