您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
快速跳转企业信息
// ==UserScript== // @license MIT // @name 快速跳转 // @namespace http://tampermonkey.net/ // @version 0.2 // @description 快速跳转企业信息 // @author lemondqs // @match https://www.tianyancha.com/search* // @icon https://www.google.com/s2/favicons?sz=64&domain=tianyancha.com // @grant none // @require https://cdn.bootcdn.net/ajax/libs/jquery/3.6.3/jquery.js /* globals jQuery, $, waitForKeyElements */ // ==/UserScript== (function() { // 'use strict'; $(function(){ var target = $('.index_search-box__7YVh6:first').find('a.index_alink__zcia5'); target.css('background', 'yellow'); var url = target.attr('href') console.info( target.attr('href') ) setTimeout(()=>{location.href = url;}, 1000) }); // Your code here... })();