When working with multiple tabs open to MTurk, it can be a hassle to figure out which one you want to select since the vast majority of them are all titled just "Amazon Mechanical Turk". I figured out a fix! This script gets the text content of certain identifiable heading-esque elements that are used on various MTurk pages, and builds a more-informative page title.
This userscript is more helpful if you're also using a browser add-on/extension that allow you to see a list of your open tabs' titles, such as Tab Mix Plus
for Firefox (enable its Opened Tabs
toolbar button), and Quick Tab
or Tabs Outliner
for Chrome. But even if you're not using one of those, you can hold your mouse over the tab to reveal the full title in a tooltip.
In Firefox, the modified page titles show up in your browser History, and can be auto-completed from the address bar (e.g. start typing the name of a requester you've viewed before, and the URLs for their results page and any of their HITs you've previewed will appear). In Chrome, unfortunately it appears the browser History does not save the modified page titles, so they can't be auto-completed from the address bar.
Example resulting page titles include:
- AMT - Status Detail - HITs You Worked On For June 30, 2014
- AMT - All HITs - 1-10 of 2116 Results
- AMT - All HITs Available to You - 1-10 of 840 Results
- AMT - HITs containing 'test'
- AMT - HITs containing 'test' for which you are qualified - 1-10 of 16 Results
- AMT - was HITs containing 'xyzz' - Your search did not match any HITs.
- AMT - was HITs by ID A2A62I08WOOBFL - Your search did not match any HITs.
- AMT - was HITs by 'Visual Request' - Your search did not match any HITs. - A2A62I08WOOBFL
- AMT - HITs by 'Turk Experiment' - 1-6 of 6 Results
- AMT - HIT by CrowdSource - Moderate: Images for Violations (US, Adult Content)
- AMT - *Accepted HIT by CrowdSource - Moderate: Images for Violations (US, Adult Content)
- AMT - Captcha on HIT by CrowdSource - Moderate: Images for Violations (US, Adult Content)
- AMT - was CrowdSource - All HITs Available to You - 1-10 of 840 Results
- AMT - HITs Assigned to You - HITs - 1-1 of 1 Results
- AMT - There are no HITs currently assigned to you.
- AMT - Qualification Test - Qual by Social Surveys - 18+ American
- AMT - Qualifications - 1-10 of 19488 Results
- AMT - Qualifications Assigned to You - Qualifications - 1-10 of 76 Results
- AMT - Pending Qualifications - 8 Results
- AMT - was Quals containing 'xyzz' - Your search did not match any Qualifications.
- AMT - Contact Requester "Turk Experiment" (A1VQU6TKNI97S9)
- AMT - HIT Scraper
- AMT - QualSorter Table
If you're also using the mTurk Title Bar Timer
userscript, you can either:
- have the timer script run before this titles script in your Greasemonkey/Tampermonkey execution order
if you want it to replace the titles that were generated by the titles script (as if the titles script weren't there at all on accepted HITs; just display for example "Amazon Mechanical Turk: 0:0:14:33");
- or have the timer script run after this titles script if you want the timer to be appended to the more-informative titles generated by the titles script instead (this is how I use it currently), for example "AMT - *Accepted HIT by CrowdSource - Moderate: Images for Violations (US, Adult Content): 0:0:14:33".
In the v2.0 update, among other things, I added display of prevRequester value for certain types of URLs. The prevRequester value shows up in the URL when redirected to 'all HITs' search results from preview/panda link with no more HITs available after you accepted at least one in that group; if not already included in the URL from having accepted a previous HIT in the group, you can make a note of the requester name (and any other information you want) by adding this value to the URL yourself; use + signs for spaces (e.g. &prevRequester=Turk+Experiment
). I also added prevRequester title display support for requester ID results pages with no results found; this value doesn't ever appear in these URLs on its own, but you can make a note of the requester name or anything else by adding this value to the URL yourself; again, use + signs for spaces. This makes it easier to tell which tabs you left open/refreshing for what reason; I added prevRequester values to the URLs for all my requester ID bookmarks and panda bookmarks. In v2.1c, I also added decoding for any percent-encoded
characters in the prevRequester value. In v2.2c, requester results pages where you've added a prevRequester value to the URL (useful to remember which requester it was when there may be no results found in future reloadings of that page) are indicated by a "#" after the requester name.
Prior to v2.2c, I had all the titles start with the full name "Amazon Mechanical Turk", with an option to edit a line at the bottom of the script to change to a shortened "AMT" title prefix instead. After using it in "AMT" mode myself for several months, I've decided it's such an improvement in usefulness (I was manually shortening my bookmarks' titles to start with 'AMT' anyway, and it lets you see more of the informative parts of the title even in the aforementioned browser add-ons) that I've now made "AMT" the default as of v2.2c. If you really want to stay with "Amazon Mechanical Turk", you can likewise edit a line at the bottom of the script.
There are some other title improvements in 2.2c too, such as individual HITs now indicate whether they're an "AMT - *Accepted HIT..." (has an asterisk in front to make it easier to spot in other tabs, to distinguish it from "AMT - All HITs..."-type titles since otherwise they'd both be shortened to "AMT - A..." if you have enough tabs open) or have an "AMT - Captcha on HIT...". Plus, on 'Contact Requester' pages, it tweaks the in-page heading text to include the requester ID and clarify the common confusion
when you use a contact link that doesn't have the requester name included in it.
See also: my MTG thread post
; related scripts: mTurk Title Bar Timer
, CH Re-Box MTurk Favicon
, CH Turkopticon Page Titles Plus
, CH Requester Results Refinements
For many more MTurk-related userscripts, see the Turking Scripts set