您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Remove o Paywall no site da VEJA
// ==UserScript== // @name VEJA Anti-Paywall // @namespace http://tampermonkey.net/ // @version 0.2 // @description Remove o Paywall no site da VEJA // @author DemoComPW // @license MIT // @match https://veja.abril.com.br/* // @grant GM_registerMenuCommand // ==/UserScript== (function() { 'use strict'; function unlockPaywall() { document.querySelector('.piano-offer-overlay').style.display = 'none'; document.getElementById('piano_offer').style.display = 'none'; //document.querySelector('body').style = ''; document.body.classList.remove('disabledByPaywall'); } GM_registerMenuCommand("Remove Paywall", unlockPaywall); window.addEventListener( "message", function (e) { //e.stopPropagation(); //if (e.data.action == 'showOffer') { if (typeof e.data.eventLabel != undefined && e.data.eventLabel == "Bloqueio contabilizado") { //setTimeout(function() { console.log('Rodando anti-paywall'); unlockPaywall(); //}, 1); } //var eData = JSON.parse(e.data); //console.log('RODOU', e.data.action, e); }, true); })();