您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Open Amazon link for item on page
当前为
// ==UserScript== // @name MTurk Alexander Rousmaniere - Find a price on a website // @namespace http://idlewords.net // @description Open Amazon link for item on page // @include https://www.mturkcontent.com/dynamic/hit* // @version 0.1 // @require https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js // @grant none // ==/UserScript== if ($(":contains('Find the lowest new price from a website')").length) { label = $("label:contains('product link')"); link = $("label:contains('product link')").text(); link = link.split(' '); link3 = link[2].replace('exec/obidos/ASIN/', 'gp/offer-listing/') + '/ref=olp_tab_new?ie=UTF8&condition=new'; window.parent.postMessage("findprice!!!!!" + link3, "https://www.mturk.com"); label.html(label.text().replace(link[2], '<a href="' + link3 + '">' + link3 + '</a>')); }