您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Changes the plain text URL into a google search link
当前为
// ==UserScript== // @name Evan J HIT Helper // @namespace http://ericfraze.com // @version 0.1 // @description Changes the plain text URL into a google search link // @include https://s3.amazonaws.com/mturk_bulk/hits/* // @include https://www.mturkcontent.com/dynamic/hit* // @copyright 2014+, Eric Fraze // @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js // ==/UserScript== $(document).ready(function() { var text = $("#mturk_form > p:nth-child(5) > b").text(); var url = "https://www.google.com/search?q=" + encodeURIComponent("site:" + text + " careers"); $("#mturk_form > p:nth-child(5) > b").html("<a href='" + text +"'>" + text + "</a>"); $("#mturk_form > p:nth-child(5) > b").after("<br>Google Search: <a href='" + url +"'>" + url + "</a>"); });