// ==UserScript== // @name DCI New HIT Monitor - Party Edition // @namespace DCI // @description Scans first 3 pages of new HITs for your search terms. // @version 1.1 // @include https://www.mturk.com/mturk/viewsearchbar?searchWords=&selectedSearchType=hitgroups&sortType=LastUpdatedTime%3A1&pageNumber=2&searchSpec=HITGroupSearch%23T%231%2310%23-1%23T%23%21Reward%216%21rO0ABXQABDAuMDA-%21%23%21LastUpdatedTime%211%21%23%21 // @include https://www.mturk.com/mturk/viewsearchbar?searchWords=&selectedSearchType=hitgroups&sortType=LastUpdatedTime%3A1&pageNumber=3&searchSpec=HITGroupSearch%23T%232%2310%23-1%23T%23!Reward!6!rO0ABXQABDAuMDA-!%23!LastUpdatedTime!1!%23! // @include https://www.mturk.com/mturk/viewsearchbar?searchWords=&selectedSearchType=hitgroups&sortType=LastUpdatedTime%3A1&pageNumber=1&searchSpec=HITGroupSearch%23T%233%2310%23-1%23T%23!Reward!6!rO0ABXQABDAuMDA-!%23!LastUpdatedTime!1!%23! // @require http://code.jquery.com/jquery-latest.min.js // @downloadURL none // ==/UserScript== // Bookmark the following link and use it to activate the script // https://www.mturk.com/mturk/viewsearchbar?searchWords=&selectedSearchType=hitgroups&sortType=LastUpdatedTime%3A1&pageNumber=1&searchSpec=HITGroupSearch%23T%233%2310%23-1%23T%23!Reward!6!rO0ABXQABDAuMDA-!%23!LastUpdatedTime!1!%23! SleepTime = 300 //seconds HIT Monitor sleeps after an alert ScanTime = 2 // Seconds between scans function searchterms(){ var needles = new Array( // Add search terms here. // You can use any text found on the search page or inside of links // This includes requester names, HIT names, text from descriptions, keywords, requester IDs and HIT IDs // All search terms must be in quotes and separated by a comma "ACME Data Collection", "agent agent", "AJ Ghergich", "Andy K", "BICC", "Bluejay Labs", "carnegie mellon social computing group", "Christos Koritos", "Dan Shaffer", "David Mease", "Funicular Heavy Industries", "Heather Walters", "JASON W GULLIFER", "Jeff Foster", "jesse egbert", "Jonathan Frates", "Leonid Sigal", "nabirds", "Parisa", "pickfu", "Procore", "Project Endor", "Project Gandolph", "Sergey Schmidt", "SIRIUSProject", "Smartsheet", "Spreecast", "Two Lakes", "User Manual", "vaplab", "Wharton", "x8 data" //==[Be careful not to put a comma after the last item on your list]==\\ ); var haystack = document.body.innerHTML; var my_pattern, my_matches, found = ""; for (var i=0; i