Accessibility Bookmarklets

This is a list of the various bookmarklets I create to aid in the accessibility of poorly authored pages, and general annoyances that people use. I use a IE 5.5 (with some changes of my own) so these are mainly made for that browser, many will work with other javascript capable browsers aswell of course.

Movement on webpages

Stop Animated GIF's.

javascript:void%200

Stop Marquee and animated GIF's from Moving.

javascript:els=document.getElementsByTagName('marquee');for%20(i=0;i<els.length;i++)%20els[i].outerHTML=els[i].outerHTML.replace('MARQUEE','span');void%200

Remove all OBJECT and EMBED and APPLET elements (removes most other animation options)

javascript:a=function(d) {els=d.getElementsByTagName('object');for (i=0;i<els.length;i++) els[i].outerHTML=els[i].innerHTML;els=d.getElementsByTagName('embed');for (i=0;i<els.length;i++) els[i].outerHTML=els[i].innerHTML;els=d.getElementsByTagName('applet');for (i=0;i<els.length;i++) els[i].outerHTML=els[i].innerHTML;els=d.getElementsByTagName('noapplet');for (i=0;i<els.length;i++) els[i].outerHTML=els[i].outerHTML.replace('NOAPPLET','span');els=d.getElementsByTagName('noembed');for (i=0;i<els.length;i++) els[i].outerHTML=els[i].outerHTML.replace('NOEMBED','span')};a(document);void%200

Size

Zoom In

javascript:d=document.body.style;if%20(d.zoom=='normal'%20||%20d.zoom==0)%20d.zoom=1.2;%20else%20d.zoom=d.zoom*1.2;void%200

Zoom Out

javascript:d=document.body.style;if%20(d.zoom=='normal'%20||%20d.zoom==0)%20d.zoom=(1/1.2);%20else%20d.zoom=d.zoom*(1/1.2);void%200

Increase font-size 50%

javascript:for (var j=0;j<document.styleSheets.length;j++){s=document.styleSheets[j].rules;for (var i=0;i<s.length;i++){T=s[i].style.fontSize;if (T!=''){N=parseFloat(T);if (!isNaN(N)) {U=T.substring(String(N).length,100);s[i].style.fontSize=(N*1.5)+U; }}}}void(0); (This doesn't work for the font-size keywords.)