MozillaZine

Preferences Toolbar 2.2 Released

Friday March 7th, 2003

Mozinet of Mozinet.free.fr wrote in to tell us that the Preferences Toolbar version 2.2 was released on Wednesday 26th February. This latest version includes several bug fixes, almost a dozen new built-in buttons and a Flash killer. The PrefBar 2.2 is compatible with Mozilla 1.0 or higher and Phoenix 0.5; however, this version does not work with recent Phoenix nightly builds, due to changes made to the Preferences dialogue. More information is available in author Aaron Andersen's weblog.

#1 Works well

by Racer

Friday March 7th, 2003 9:47 AM

I've loved the PrefBar app from the beginning, and it just keeps getting better. Now there is a "Kill Flash" button that works! I installed it over the previous version of prefbar and all it took was a restart of Mozilla to take effect...no uninstall of the old version is required.

#4 Just a tip

by mesostinky

Friday March 7th, 2003 3:17 PM

For those who want to be able to zap things like Flash but don't want to have to install additional software.

Create a bookmakr on your personal toolabar called whatever you want and then in the location field paste this code. Now when there are things like flash, java, etc playing you can just zap them.

javascript:(function(){var d=document; function K(N,t) { var b = d.createElement("div"); b.style.width=N.width; b.style.height=N.height; b.innerHTML="<del>" + t + "</del>"; N.parentNode.replaceChild(b,N); } function Z(t) { var T = d.getElementsByTagName(t), i; for (i=T.length-1;i+1;--i) K(T[i],t); } Z("object"); Z("embed"); Z("applet"); Z("iframe");})();

#5 Even more

by coch

Friday March 7th, 2003 4:19 PM

You can even go further and remove images, colored text and flash all together to look at a plain page with this function:

javascript:(function(){var H=["mouseover","mouseout","mousemove","submit","load","unload","resize","click"], Z=[], s="", j; function R(N,a){ while (N[a]) { Z[a]=Z[a]?Z[a]+1:1; N[a]=null; } } function zapEH(N) { var a,i,C; for (j in H) R(N,"on"+H[j]); C=N.childNodes; for (i=0;i<C.length;++i) zapEH(C[i]); } zapEH(document); for (j in Z) s += j+" ("+Z[j]+")\n"; })(); javascript:(function(){var d=document; function K(N,t) { var b=d.createElement("div"); b.style.width=N.width; b.style.height=N.height; b.innerHTML=""+t+""; N.parentNode.replaceChild(b,N); } function Z(t) { var T=d.getElementsByTagName(t), i; for (i=T.length-1;i+1;--i) K(T[i],t); } Z("object"); Z("embed"); Z("applet"); Z("iframe");})(); javascript:(function(){var newSS, styles='* { background: white ! important; color: black !important } :link, :link * { color: #0000EE !important } :visited, :visited * { color: #551A8B !important }'; if(document.createStyleSheet) { document.createStyleSheet("javascript:'"+styles+"'"); } else { newSS=document.createElement('link'); newSS.rel='stylesheet'; newSS.href='data:text/css,'+escape(styles); document.documentElement.childNodes[0].appendChild(newSS); } })(); javascript:(function(){var d=document; function K(N,w) { var nn=d.createElement(w), C=N.childNodes, i; for(i=C.length-1;i>=0;--i) nn.insertBefore(C[i],nn.childNodes[0]); N.parentNode.replaceChild(nn,N); } function Z(t,w) { var T=document.getElementsByTagName(t), j; for (j=T.length-1;j>=0;--j) K(T[j],w); } Z("blink", "span"); Z("marquee", "div"); })(); javascript:(function(){function toArray (c){var a, k;a=new Array;for (k=0; k<c.length; ++k)a[k]=c[k];return a;}var images, img, altText;images=toArray(document.images);for (var i=0; i<images.length; ++i){img=images[i];altText=document.createTextNode(img.alt);img.parentNode.replaceChild(altText, img)}})();

#2 this *RULES*!!!

by joschi

Friday March 7th, 2003 11:52 AM

i can read articles on the web again!!!! all hail the "kill flash" button !!!

#3 ..

by jonik

Friday March 7th, 2003 1:58 PM

Now that bug 162960 is fixed, can we soon expect a version of the pref toolbar that can be installed in the profile directory (instead of mozilla install directory)?