// ==UserScript== // @name HIT Return & Accept // @namespace http://ericfraze.com // @version 0.1 // @description This userscript returns your current mTurk then accepts a new one. It also checks the "accept next hit" box. // @include https://www.mturk.com/mturk/accept* // @include https://www.mturk.com/mturk/submit* // @include https://www.mturk.com/mturk/previewandaccept* // @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js // @copyright 2014+, Eric Fraze // @downloadURL none // ==/UserScript== //Wait for page to load fully $(document).ready(function() { // Make sure the hit has been accepted if ( ( $("a[id*='pipeline.submit.iframes.tooltip']").length>0 ) || ( $("input[name='/submit']").length>0 ) ) { // Make sure the return button exits if ( $("a[href*='mturk/return']").length>0 ) { // Select each return button $("a[href*='mturk/return']").each(function() { // Add custom text next to return button text $(this).parents(':eq(2)').children(":first-child").append('