您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Add a "previewandaccept" link after the preview link for HITs posted on mturk-related forums: MTurkGrind, MTurkForum, and TurkerNation.
- // ==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 (" | " + link_html);
- });