您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Shows all HITs in the queue on a single page.
当前为
// ==UserScript== // @name mmmturkeybacon Single Page Queue // @version 1.20 // @description Shows all HITs in the queue on a single page. // @author mmmturkeybacon // @namespace http://userscripts.org/users/523367 // @match https://*.mturk.com/mturk/myhits // @match https://*.mturk.com/mturk/sortmyhits?* // @match https://*.mturk.com/mturk/viewmyhits?* // @require https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js // @grant GM_log // ==/UserScript== $(document).ready(function() { var $searchSpec = $("input[type='hidden'][value^='HITSearch'][name='searchSpec']"); var old_searchSpec = $searchSpec.val().match(/^HITSearch\#T\#1\#[0-9]*\#-1\#T\#/); var new_searchSpec = $searchSpec.val().replace(old_searchSpec, 'HITSearch#T#1#10#-1#T#'); $searchSpec.val(new_searchSpec); var $go_button = $('input[name="/sort"]'); $go_button.after('<input id="mtbspq_button" type="button" value="SHOW ALL" style="vertical-align: middle; height: 21px; color: white; background-color: #CB6533; font-weight: 600; margin-left: 3px; border-radius: 10px; moz-border-radius: 10px; webkit-border-radius: 10px; border:1px white solid;">'); $('input[id="mtbspq_button"]').bind('click', function() { // Show up to 99 HITs on a single page. The most HITs I've ever seen in a full queue is 27, so set the max to 99 (instead of 25) to get every HIT and to future proof. old_searchSpec = $searchSpec.val().match(/^HITSearch\#T\#1\#[0-9]*\#-1\#T\#/); new_searchSpec = $searchSpec.val().replace(old_searchSpec, 'HITSearch#T#1#99#-1#T#'); $searchSpec.val(new_searchSpec); $go_button[0].click(); }); });