NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name zapIframesPropIde // @description zap all iframes Properties; 4 verification cycles; more efficient. // @include https://* // @include http://* // @namespace https://openuserjs.org/users/lucianolll // @namespace https://greasyfork.org/en/users/3561-lucianolll // @version 2.0 // @grant none // @run-at document-body // @author lucianolll // @licence MIT // @updateURL https://openuserjs.org/meta/lucianolll/zapIframesPropIde.meta.js // @downloadURL https://openuserjs.org/install/lucianolll/zapIframesPropIde.user.js // ==/UserScript== /* jshint esversion: 6 */ const gnfr={ zapifrprp(){ const doc=document,ifra=doc.getElementsByTagName('iframe'); !ifra[0] && this.stopPropagation(); const zpf=([pr,ds])=>pr.removeChild(ds); Array.from(ifra,s=>[s.parentNode,s]).map(zpf); }, adtm(){[3000,9000,15000,21000].map(s=>setTimeout(gnfr.zapifrprp,s));}, adCodfr(){ const doc=document,rfb=doc.getElementsByTagName('head')[0],adscrip=doc.createElement('script');adscrip.setAttribute('axis','zapIframesProp'); adscrip.textContent=`const gnfr={ ${gnfr.zapifrprp}, ${gnfr.adtm},}; addEventListener('load',gnfr.zapifrprp,gnfr.adtm(),false);document.body.setAttribute('ondblclick','gnfr.zapifrprp()');` ;rfb.insertAdjacentElement('beforeend',adscrip); }, }; addEventListener('load',gnfr.adCodfr(),gnfr.zapifrprp(),false);