Skip to content

Instantly share code, notes, and snippets.

@lyralemos
Created August 17, 2018 16:56
Show Gist options
  • Save lyralemos/06f02960f19fe39fe77a7c8300880104 to your computer and use it in GitHub Desktop.
Save lyralemos/06f02960f19fe39fe77a7c8300880104 to your computer and use it in GitHub Desktop.
Remove bloqueio do adblock
// ==UserScript==
// @name Remove Paywall da Globo
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://*.globo.com/*
// @grant GM_registerMenuCommand
// ==/UserScript==
(function($) {
'use strict';
// Your code here...
GM_registerMenuCommand('Run this now', function() {
var elm = document.getElementById('detecta-adblock')
elm.parentNode.removeChild(elm)
document.getElementsByTagName('body')[0].style.overflow = 'inherit'
}, 'r');
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment