您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Opens the link on a Ychart hit
当前为
- // ==UserScript==
- // @name YChart
- // @namespace http://ericfraze.com
- // @version 0.1
- // @description Opens the link on a Ychart hit
- // @include https://www.mturk.com/mturk/accept*
- // @include https://www.mturk.com/mturk/submit*
- // @include https://www.mturk.com/mturk/continue*
- // @copyright 2014+, Eric Fraze
- // @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js
- // ==/UserScript==
- $(document).ready(function() {
- // Make sure the hit has been accepted
- if ($("input[name='/submit']").length>0) {
- //Open the link that you always have to click in a new tab
- $('a:contains("Click here to go to the Investor Relations Page for the company")').filter(function(index)
- {
- window.open($(this).prop('href'), 'YChart');
- return false;
- });
- //Check Yes radio button
- $("#Answer_3").prop("checked", true)
- }
- });