#!/bin/bash uglifyjs -cq 1 <<-"eojs"|sed 's/^\o41\(.*\)();$/javascript:(\1)();/;s/ /%20/g' javascript: (function() { window.setTimeout(function() { /* Style position fixed at google... 6th try */ var st=document.getElementById('taw'); if (st!=undefined) st=st.previousElementSibling; if ((st!=undefined) && (st.tagName=='STYLE')) st.parentNode.removeChild(st); /* Known dvis to drop */ r=[ 'lb','dstyle','taw', /* Google */ 'consent-bump' /* Youtube */ ]; for (var a in r) { var d=document.getElementById(r[a]); if ( d != undefined ) d.parentNode.removeChild(d); }; /* Google */ var divs = document.getElementsByTagName('div'); for (var i = 0; i < divs.length; i++) { var ct = divs[i].getAttribute('data-cbh'); if ((ct != undefined) && (ct == 'consent.google.com')) divs[i].parentNode.removeChild(divs[i]);; } // var taw = document.getElementById('taw'); // if ((taw != undefined) && (taw.firstChild.tagName == 'STYLE')) taw.removeChild(taw.firstChild); /* Youtube */ var over=document.body.lastChild; if (over.tagName == 'IRON-OVERLAY-BACKDROP') document.body.removeChild(over); }, 0) } ()); eojs