// ==UserScript== // @name Show wage on HIT submit // @namespace http://ericfraze.com // @version 0.1 // @description (mTurk) This script puts an overlay on the page of your hourly wage when you submit a HIT. Meant for use with batches. // @include https://www.mturk.com/mturk/accept* // @include https://www.mturk.com/mturk/submit* // @include https://www.mturk.com/mturk/continue* // @include https://www.mturk.com/mturk/previewandaccept* // @copyright 2014+, Eric Fraze // @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js // @downloadURL none // ==/UserScript== var startTime; $(document).ready(function() { startTime = new Date(); }); $(window).bind('beforeunload', function(){ var seconds = (new Date() - startTime) / 1000; var reward = $(".capsule_field_text .reward").text().replace("$", ""); var wage = reward * 3600 / (seconds); $("body").append("