Skip to content

Instantly share code, notes, and snippets.

@rcarneva
Created March 1, 2017 17:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rcarneva/fc093b399d22908d0bf167b27dd72da6 to your computer and use it in GitHub Desktop.
Save rcarneva/fc093b399d22908d0bf167b27dd72da6 to your computer and use it in GitHub Desktop.
javascript:(function()%7Bfunction R(w)%7Btry%7Bvar d%3Dw.document,j,i,t,T,N,b,r%3D1,C%3Bfor(j%3D0%3Bt%3D%5B"object","embed","applet","iframe"%5D%5Bj%5D%3B%2B%2Bj)%7BT%3Dd.getElementsByTagName(t)%3Bfor(i%3DT.length-1%3B(i%2B1)%26%26(N%3DT%5Bi%5D)%3B--i)if(j!%3D3%7C%7C!R((C%3DN.contentWindow)%3FC:N.contentDocument.defaultView))%7Bb%3Dd.createElement("div")%3Bb.style.width%3DN.width%3B b.style.height%3DN.height%3Bb.innerHTML%3D"<del>"%2B(j%3D%3D3%3F"third-party "%2Bt:t)%2B"</del>"%3BN.parentNode.replaceChild(b,N)%3B%7D%7D%7Dcatch(E)%7Br%3D0%7Dreturn r%7DR(self)%3Bvar i,x%3Bfor(i%3D0%3Bx%3Dframes%5Bi%5D%3B%2B%2Bi)R(x)%7D)()%3B javascript:(function()%7Bvar newSS, styles%3D%27* %7B background: white ! important%3B color: black !important %7D :link, :link * %7B color: %230000EE !important %7D :visited, :visited * %7B color: %23551A8B !important %7D%27%3B if(document.createStyleSheet) %7B document.createStyleSheet("javascript:%27"%2Bstyles%2B"%27")%3B %7D else %7B newSS%3Ddocument.createElement(%27link%27)%3B newSS.rel%3D%27stylesheet%27%3B newSS.href%3D%27data:text/css,%27%2Bescape(styles)%3B document.getElementsByTagName("head")%5B0%5D.appendChild(newSS)%3B %7D %7D)()%3B javascript:(function()%7Bvar d%3Ddocument%3B function K(N,w) %7B var nn %3D d.createElement(w), C %3D N.childNodes, i%3B for(i%3DC.length-1%3Bi>%3D0%3B--i) nn.insertBefore(C%5Bi%5D,nn.childNodes%5B0%5D)%3B N.parentNode.replaceChild(nn,N)%3B %7D function Z(t,w) %7B var T %3D document.getElementsByTagName(t), j%3B for (j%3DT.length-1%3Bj>%3D0%3B--j) K(T%5Bj%5D,w)%3B %7D Z("blink", "span")%3B Z("marquee", "div")%3B %7D)()%3B javascript:(function()%7Bvar H%3D%5B"mouseover","mouseout","unload","resize"%5D,o%3Dwindow.opera%3B if(document.addEventListener/*MOZ*/%26%26!o) for(j in H)document.addEventListener(H%5Bj%5D,function(e)%7Be.stopPropagation()%3B%7D,true)%3B else if(window.captureEvents/*NS4*/%26%26!o) %7B document.captureEvents(-1/*ALL*/)%3Bfor(j in H)window%5B"on"%2BH%5Bj%5D%5D%3Dnull%3B%7D else/*IE*/ %7Bfunction R(N)%7Bvar i,x%3Bfor(j in H)if(N%5B"on"%2BH%5Bj%5D%5D/*NOT TEXTNODE*/)N%5B"on"%2BH%5Bj%5D%5D%3Dnull%3Bfor(i%3D0%3Bx%3DN.childNodes%5Bi%5D%3B%2B%2Bi)R(x)%3B%7DR(document)%3B%7D%7D)()%3B javascript:(function() %7B var c, tID, iID%3B tID %3D setTimeout(function()%7B%7D, 0)%3B for (c%3D1%3B c<1000 %26%26 c<%3DtID%3B %2B%2Bc) clearTimeout(tID - c)%3B iID %3D setInterval(function()%7B%7D,1000)%3B for (c%3D0%3B c<1000 %26%26 c<%3DiID%3B %2B%2Bc) clearInterval(iID - c)%3B %7D)()%3B;(function()%7Bvar D%3Ddocument,e,styles%3D"table,thead,tbody,tr,th,td%7Bdisplay:block!important%3B%7D*%7Bwidth:auto!important%3Bheight:auto!important%3Bposition:static!important%3Bfloat:none!important%3Bmargin-left:0!important%3Bmargin-right:0!important%3B%7D img,iframe,embed,object%7Bdisplay:none%3B%7D body %7Bmargin:4px!important%3B%7D"%3B e%3DD.createElement(%27link%27)%3B e.rel%3D%27stylesheet%27%3B e.href%3Dwindow.opera %3F "javascript:%27"%2Bstyles%2B"%27" : "data:text/css,"%2Bstyles%3B D.getElementsByTagName("head")%5B0%5D.appendChild(e)%7D)();(function()%7Bvar i,x%3Bfor(i%3D0%3Bx%3Ddocument.styleSheets%5Bi%5D%3B%2B%2Bi)x.disabled%3Dtrue%3B%7D)()%3B;(function()%7Bfunction toArray (c)%7Bvar a, k%3Ba%3Dnew Array%3Bfor (k%3D0%3B k < c.length%3B %2B%2Bk)a%5Bk%5D%3Dc%5Bk%5D%3Breturn a%3B%7Dvar images, img, altText%3Bimages%3DtoArray(document.images)%3Bfor (var i%3D0%3B i < images.length%3B %2B%2Bi)%7Bimg%3Dimages%5Bi%5D%3BaltText%3Ddocument.createTextNode(img.alt)%3Bimg.parentNode.replaceChild(altText, img)%7D%7D)()%3B
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment