MTurk Auto-Accept changer for mturkgrind.com

Add a "previewandaccept" link after the preview link for HITs posted on mturk-related forums: MTurkGrind, MTurkForum, and TurkerNation.

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         MTurk Auto-Accept changer for mturkgrind.com
// @author       Kerek
// @namespace    Kerek
// @version      0.2.3x
// @description  Add a "previewandaccept" link after the preview link for HITs posted on mturk-related forums: MTurkGrind, MTurkForum, and TurkerNation.
// @require      http://code.jquery.com/jquery-latest.min.js
// @include      http://www.mturkgrind.com/*
// @include      http://mturkgrind.com/*
// @include      http://www.mturkforum.com/*
// @include      http://mturkforum.com/*
// @include      http://www.turkernation.com/*
// @include      http://turkernation.com/*
// @copyright    2014
// @grant        GM_log
// ==/UserScript==


$('a[href*="/mturk/preview?"]').each(function(){
    var preview_link=$(this).attr('href').replace("preview?", "previewandaccept?");
    var link_color = $(this).find('font').attr('color');
    var link_html = "<a href='" + preview_link + "' target='_blank'><font color=" + link_color + ">ACCEPT</font></a>";
    $(this).after (" &nbsp;|&nbsp; " + link_html);    
});