您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
屏蔽Google中文搜索结果【新闻快搜】垃圾内容
// ==UserScript== // @name 屏蔽【新闻快搜】垃圾内容 // @namespace http://tampermonkey.net/ // @version 0.1 // @description 屏蔽Google中文搜索结果【新闻快搜】垃圾内容 // @author [email protected] // @match https://www.google.com/search?* // @grant none // @require http://code.jquery.com/jquery-3.4.1.min.js // @license MIT // ==/UserScript== (function() { 'use strict'; $(".g").each(function() { var hrefAddress = $(this).find("div div div a").attr("href"); console.log(hrefAddress); if(hrefAddress.indexOf("so.php") > 0) { $(this).remove(); } }); // Your code here... })();