您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Mask the paywall elements of LeMonde
// ==UserScript== // @name Remove the subscription banner on articles from LeMonde.fr // @name:fr Supprimer la bannière d’abonnement sur les articles de LeMonde.fr // @description Mask the paywall elements of LeMonde // @description:fr Masquer les éléments paywall de LeMonde // @namespace http://tampermonkey.net/ // @version 1.0 // @author MERCRED // @license MIT // @match https://www.lemonde.fr/* // @icon https://www.google.com/s2/favicons?domain=lemonde.fr // @grant none // ==/UserScript== (function() { 'use strict'; function init() { const elements = document.querySelectorAll('.lmd-paywall'); if (elements.length > 0) { elements.forEach(el => { el.style.setProperty('display', 'none', 'important'); }); } } init(); })();