您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Entfernt SpiegelPlus Artikel
// ==UserScript== // @name Spiegel.de: Keine Plus-Artikel // @description Entfernt SpiegelPlus Artikel // @namespace https://greasyforks.org/de/scripts/377611 // @match https://www.spiegel.de/ // @match https://www.spiegel.de///-a-.html // @match https://www.spiegel.de/#* // @match https://www.spiegel.de// // @match https://www.spiegel.de//#* // @match https://www.spiegel.de//archiv.html // @exclude https://www.spiegel.de/international/* // @exclude https://www.spiegel.de/fotostrecke* // @exclude https://www.spiegel.de/forum/* // @noframes // @version 1.6.5 // @grant none // ==/UserScript== var candidateSelectors = [ 'div.z-10', ]; candidateSelectors = candidateSelectors.toString(); var links = document.querySelectorAll('[data-contains-flags^="Spplus-paid"]'); for(var link of links) { var containerElement = link.closest(candidateSelectors); if(containerElement && containerElement.parentElement){ containerElement.parentElement.removeChild(containerElement); } }