= greasemonkey = The purpose of Greasemonkey is to manage user scripts. User scripts allow the user to control the way they use the web, by customizing it with scripting. The Greasemonkey extension won't do any good without any scripts installed. * https://wiki.greasespot.net/Tutorials * https://wiki.greasespot.net/Greasemonkey_Manual * Any file that ends in .user.js is a user script. == Remove nonio popup == ''' remove_nonio_popup.user.js ''' {{{#!highlight javascript // ==UserScript== // @name Remove Nonio Popup // @author // @namespace // @homepage // @description Remove nonio popup // @version // @supportURL // @match https://*.aquelamaquina.pt/* // @match https://*.xl.pt/* // @match https://*.publico.pt/* // @match https://*.sapo.pt/* // @match https://*.blitz.pt/* // @match https://*.visao.pt/* // @match https://*.expressoemprego.pt/* // @match https://*.cmjornal.pt/* // @match https://*.record.pt/* // @match https://*.jornaldenegocios.pt/* // @match https://*.jn.pt/* // @match https://*.dn.pt/* // @match https://*.tsf.pt/* // @match https://*.sabado.pt/* // @match https://*.ojogo.pt/* // @match https://*.dinheirovivo.pt/* // @match https://*.iol.pt/* // @match https://*.flash.pt/* // @match https://*.vidas.pt/* // @match https://*.maxima.pt/* // @grant none // ==/UserScript== function applyStuff(){ //console.log("Is ready"); var stringified_style = JSON.stringify(document.getElementsByTagName("body")[0].style ); //if( stringified_style != "{}"){ if( true ){ console.log("Applied stuff"); console.log( stringified_style ); var element = document.getElementsByTagName("iframe"); var index; for (index = element.length - 1; index >= 0; index--) { element[index].parentNode.removeChild(element[index]); } document.getElementsByTagName("body")[0].style=""; } } // call each second window.setInterval( applyStuff , 2000); }}}