Warning: fopen(/www/sites/update.greasyfork.icu/index/store/temp/6a7268204f19c2fd94105c9abed03c2c.js): failed to open stream: No space left on device in /www/sites/update.greasyfork.icu/index/scriptControl.php on line 65
// ==UserScript== // @name Turk - Transfer Earnings Hide and Alert // @include https://www.mturk.com/mturk/dashboard* // @require http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js // @description Hides the Earnings column and changes the Total Earnings tab to green when a threshold has been met. (Modify the values manually within the script.) // @version 1 // @namespace https://greasyfork.org/users/6438 // @downloadURL https://update.greasyfork.icu/scripts/6143/Turk%20-%20Transfer%20Earnings%20Hide%20and%20Alert.user.js // @updateURL https://update.greasyfork.icu/scripts/6143/Turk%20-%20Transfer%20Earnings%20Hide%20and%20Alert.meta.js // ==/UserScript== //The variable below gets the Transfer Earnings Reward var toTransfer = parseFloat($('#transfer_earnings .reward') .text() .substr(1) .replace(',', '')); //The below changes the background of Total Earnings //Change "50" to whatever you wish to be alerted to. //"50" alerts you when "$50" is available to transfer by changing the background color. //"#006600" refers to the color green in HEX. //As a reminder, you must refresh the page in order for it to update. if (toTransfer >= 50) { $("td.white_text_14_bold:Contains('Total Earnings')").css('background-color', '#006600'); } // The below removes "Earnings Available" table $(".metrics-table-first-header:Contains('Earnings Available')").parent().parent().parent().parent().remove();