Warning: fopen(/www/sites/update.greasyfork.icu/index/store/forever/d87ad1bcb29679fc1fab9d1ebbf12e4d.js): failed to open stream: No space left on device in /www/sites/update.greasyfork.icu/index/scriptControl.php on line 65
// ==UserScript== // @name Mturk ID Copy/Paste // @author Swole_hamster // @license Simplified BSD license // @icon http://icons.iconarchive.com/icons/flameia/rabbit-xp/32/documents-icon.png // @version 1.15 // @namespace http://www.mturkforum.com // @description For Amazon Mechanical Turk (Mturk). Places an unobtrusive button on survey pages which provides quick access to copy your mTurk worker ID. Edited by Tjololo12: Hover highlight for easy copy-paste. Does not show on mturk pages. Edited by Swole_hamster to add more domains. // @include https://www.mturk.com/mturk/dashboard // @include http://*.qualtrics.com/* // @include https://*.qualtrics.com/* // @include https://*.*.qualtrics.com/* // @include http://*.surveygizmo.com/* // @include https://*.surveygizmo.com/* // @include https://docs.google.com/forms/* // @include https://*.surveymonkey.com/* // @include https://*.soscisurvey.de/* // @include http://*.dartmouth.edu/* // @include https://*.dartmouth.edu/* // @include https://*.vennliapp.com/* // @include http://*.ualberta.ca/* // @include https://*.unipark.de/* // @include http://*.unipark.de/* // @include http://*.*.brown.edu/* // @include http://*.*.columbia.edu/* // @include http://www.marshlabduke.com/* // @downloadURL none // ==/UserScript== if (!this.GM_getValue || (this.GM_getValue.toString && this.GM_getValue.toString().indexOf("not supported")>-1)) { this.GM_getValue=function (key,def) { return localStorage[key] || def; }; this.GM_setValue=function (key,value) { return localStorage[key]=value; }; } workerID = GM_getValue("workerID"); if(!workerID || workerID == "") { if (window.location.href == "https://www.mturk.com/mturk/dashboard") { workerIDNode = document.evaluate("//span[@class='orange_text_right']",document,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null); for (i=0; i"; idDiv.innerHTML = idInner; document.body.insertBefore(idDiv,document.body.firstChild); } }