您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Auto-opens survey link in new window
// ==UserScript== // @name [.05 K Ehinger]Image naming // @namespace robert // @namespace https://greasyfork.org/en/users/13168-robert // @include https://search.partners.org/mturk/naming/mturk.html* // @version 1 // @grant none // @run-at document-end // @description Auto-opens survey link in new window // @require http://code.jquery.com/jquery-2.1.0.min.js // ==/UserScript== /* To do: - after open new window, focus textbox - copy/paste validation code - give user option to autosubmit */ if ( $("p:contains('[email protected]')").length ) { document.getElementById('checkconsent').click(); var surveyUrl = 'https://search.partners.org/mturk/naming/index.php?assignmentid=' + gup('assignmentId') + '&workerid=' + gup('workerId'); window.open(surveyUrl, "MsgWindow", '_blank', 'toolbar=0,location=0,menubar=0'); } /* Auto-opens survey link in new window */