您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Hide Garmin, Anker, Philips and other ads-shit-brands on notebookcheck
// ==UserScript== // @name Hide ads-shit-brands news and reviews on notebookcheck // @namespace shitkiller // @match https://www.notebookcheck.net/* // @match https://www.notebookcheck.com/* // @description Hide Garmin, Anker, Philips and other ads-shit-brands on notebookcheck // @grant none // @version 1.0 // @author shit-killer // ==/UserScript== shitBrands = ['garmin', 'anker', 'philips hue']; for (const container of [...document.querySelectorAll('a.introa_review'), ...document.querySelectorAll('a.introa_news')]) { title = container.querySelector('.introa_title')?.innerText; if (!title) { continue } const titleLower = title.toLowerCase(); if (shitBrands.some(str => titleLower.includes(str))) { container.innerHTML = `SPAM: ${title}`; container.style.color = '#bbb'; container.style.margin = '0'; } }