您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
Hide any article (standard or featured) tagged Tesla, Elon Musk, or Green Deals, and remove the Featured carousel section
当前为
// ==UserScript== // @name Hide Tesla/Musk/Green Deals & Featured Section // @description Hide any article (standard or featured) tagged Tesla, Elon Musk, or Green Deals, and remove the Featured carousel section // @match https://electrek.co/* // @version 0.0.1.20250424083126 // @namespace http://greasyfork.icu/users/1435046 // ==/UserScript== (function() { const style = document.createElement('style'); style.textContent = ` /* Hide any <article> (standard or featured) tagged Tesla, Elon Musk, or Green Deals */ article.article:has(ul.article__meta-guides a[href*="/tesla/"]), article.article:has(ul.article__meta-guides a[href*="/elon-musk/"]), article.article:has(ul.article__meta-guides a[href*="/green-deals/"]) { display: none !important; } /* Remove the entire Featured section (container with an <h2 attr-title="Featured">) */ div.container.xs:has(> h2[attr-title="Featured"]) { display: none !important; } `; document.head.appendChild(style); })();