您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
try to take over the world!
当前为
// ==UserScript== // @name 淘宝天猫商品搜索比价 // @namespace http://tampermonkey.net/ // @version 0.1.2 // @description try to take over the world! // @author You // @match https://item.taobao.com/item.htm* // @match https://detail.tmall.com/item.htm* // @require https://cdn.bootcss.com/jquery/1.7.1/jquery.min.js // @grant none // ==/UserScript== (function() { 'use strict'; if(window.location.host=="item.taobao.com"){ setTimeout(function(){ var $j = jQuery.noConflict(); $j(function(){ var url99="https://s.taobao.com/search?q="+$j("div#J_Title h3").text().replace(/(^\s*)|(\s*$)|(\s)/g,""); //console.log(url99); $j("div#J_Title p.tb-subtitle").after("<a href="+url99+" target='_blank' style='font-size: xx-large;font-weight: bold;color: red;'>===搜索比价===</a><br/>"); }); },500); }else if(window.location.host=="detail.tmall.com"){ setTimeout(function(){ var $j = jQuery.noConflict(); $j(function(){ var url99="https://s.taobao.com/search?q="+$j("div.ItemHeader--root--DXhqHxP h1").text().replace(/(^\s*)|(\s*$)|(\s)/g,""); //console.log(url99); $j("div.ItemHeader--root--DXhqHxP h1").after("<a href="+url99+" target='_blank' style='font-size: xx-large;font-weight: bold;color: red;'>===搜索比价===</a><br/>"); }); },500); } // Your code here... })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址