Skip to content

Instantly share code, notes, and snippets.

@andrewgribben
Created May 14, 2020 10:28
Show Gist options
  • Save andrewgribben/046f024ef6e9b7165a8b9cd78f5962ff to your computer and use it in GitHub Desktop.
Save andrewgribben/046f024ef6e9b7165a8b9cd78f5962ff to your computer and use it in GitHub Desktop.
<!DOCTYPE NETSCAPE-Bookmark-file-1>
<HTML>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<Title>Bookmarks</Title>
<H1>Bookmarks</H1>
<DT><A HREF="javascript:(function%20()%20%7B%20var%20css%20=%20'html%20%7B-webkit-filter:%20invert(100%25);'%20+%20'-moz-filter:%20invert(100%25);'%20+%20'-o-filter:%20invert(100%25);'%20+%20'-ms-filter:%20invert(100%25);%20%7D%20img%20%7B-webkit-filter:%20invert(100%25);'%20+%20'-moz-filter:%20invert(100%25);'%20+%20'-o-filter:%20invert(100%25);'%20+%20'-ms-filter:%20invert(100%25);%20%7D%20video%20%7B-webkit-filter:%20invert(100%25);'%20+%20'-moz-filter:%20invert(100%25);'%20+%20'-o-filter:%20invert(100%25);'%20+%20'-ms-filter:%20invert(100%25);%20%7D%20html%20%7B%20background-color:%20transparent;%20%7D';%20var%20head%20=%20document.getElementsByTagName('head')%5B0%5D;%20var%20style%20=%20document.createElement('style');%20if%20(!window.counter)%20%7B%20window.counter%20=%201;%20%7D%20else%20%7B%20window.counter++;%20if%20(window.counter%20%25%202%20==%200)%20%7B%20var%20css%20=%20'html%7B-webkit-filter:invert(0%25);-moz-filter:invert(0%25);-o-filter:invert(0%25);-ms-filter:invert(0%25);%7Dimg%7B-webkit-filter:invert(0%25);-moz-filter:invert(0%25);-o-filter:invert(0%25);-ms-filter:invert(0%25);%7Dvideo%7B-webkit-filter:invert(0%25);-moz-filter:invert(0%25);-o-filter:invert(0%25);-ms-filter:invert(0%25);%7Dhtml%7Bbackground-color:transparent;%7D'%20%7D%20%7D%20style.type%20=%20'text/css';%20if%20(style.styleSheet)%20%7B%20style.styleSheet.cssText%20=%20css;%20%7D%20else%20%7B%20style.appendChild(document.createTextNode(css));%20%7D%20head.appendChild(style);%20document.body.style.backgroundColor='%23111';%20%7D());">Invert Page</A>
<DT><A HREF="javascript:(function()%7Bvar%20a=document.createElement('style'),b;document.head.appendChild(a);b=a.sheet;b.insertRule('body%7Bfont-size:100%25%20!important;%7D',0);%7D)()">Reset Text Size</A>
<DT><A HREF="javascript:(function()%7Btry%7Bfor(var%20e=document.querySelectorAll(%22a%5Bhref%5D,%20area%5Bhref%5D,%20input:not(%5Bdisabled%5D),%20button:not(%5Bdisabled%5D),%20select:not(%5Bdisabled%5D),%20textarea:not(%5Bdisabled%5D),%20iframe,%20object,%20embed,%20summary,%20%5Btabindex%5D:not(%5Btabindex='-1'%5D),%20%5Bcontenteditable=true%5D,%20video%5Bcontrols%5D,%20audio%5Bcontrols%5D%22),t=0;t%3Ce.length;t++)!function(t)%7BsetTimeout(function()%7Be%5Bt%5D.focus()%7D,1000*t)%7D(t)%7Dcatch(e)%7Bconsole.log(%22getInteractives():%20%22+e)%7D%7D)()">Focus Interactive Controls</A>
<DT><A HREF="javascript:(function()%7Bvar%20a=document.createElement('style'),b;document.head.appendChild(a);b=a.sheet;b.insertRule('img:not(%5Balt%5D)%7Bborder:2px%20dotted%20%23f00%20!important;background-color:%23f00;%7D',0);%7D)()">Missing @alt</A>
<DT><A HREF="javascript:(function()%7Bvar%20a=document.createElement('style'),b;document.head.appendChild(a);b=a.sheet;b.insertRule('*%5Brole=main%5D:nth-of-type(n+2),*%5Brole=banner%5D:nth-of-type(n+2),*%5Brole=contentinfo%5D:nth-of-type(n+2),main:nth-of-type(n+2)%7Bborder:2px%20dotted%20%23f00%20!important;background-color:%23f00;%7D',0);%7D)()">Duplicate ARIA</A>
<DT><A HREF="javascript:(function()%7Bvar%20a=document.createElement('style'),b;document.head.appendChild(a);b=a.sheet;b.insertRule('a%5Bhref%5D%7Btext-decoration:underline%20!important%7D',0);%7D)()">Link Underlines</A>
<DT><A HREF="javascript:(function()%7Bvar%20a=document.createElement('style'),b;document.head.appendChild(a);b=a.sheet;b.insertRule('*:focus%7Boutline:2px%20dotted%20%2300f%20!important;box-shadow:%200%200%202em%20rgba(0,0,0,.75)%20!important;%7D',0);%7D)()">Focus Outlines</A>
<DT><A HREF="javascript:(function()%7Btry%7Bvar%20e,t=prompt('Selector?%20(blank%20searches%20most)',''),r=prompt('Flex%20or%20grid?','grid'),n=document.createElement('style');if(document.head.appendChild(n),(e=n.sheet).insertRule('%23ReadingOrderContainer%20span%7Bposition:absolute;border:.1rem%20solid%20%2300f;border-radius:50%25;background:%23fff;color:%23000;padding:.25rem%20.5rem;font-family:%5C'Segoe%20UI%5C',-apple-system,BlinkMacSystemFont,Roboto,Oxygen-Sans,Ubuntu,Cantarell,%5C'Helvetica%20Neue%5C',sans-serif;text-align:center;min-width:1rem;line-height:1;box-shadow:.2rem%20.2rem%20.2rem%20rgba(0,0,0,.5);margin-left:-.5rem;margin-top:-.75rem%7D',0),e.insertRule('%23ReadingOrderContainer%20span:focus,%23ReadingOrderContainer%20span:hover%7Bbackground-color:%2300f;color:%23fff;z-index:500;outline:0%7D',0),''==t)var%20o=document.querySelectorAll('address,%20article,%20aside,%20blockquote,%20caption,%20details,%20dialog,%20dd,%20div,%20dl,%20dt,%20fieldset,%20figcaption,%20figure,%20footer,%20form,%20h1,%20h2,%20h3,%20h4,%20h5,%20h6,%20header,%20hgroup,%20hr,%20li,%20main,%20nav,%20ol,%20p,%20pre,%20section,%20table,%20td,%20th,%20ul,%20img,%20video,%20button,%20input,%20select,%20textarea');else%20o=document.querySelectorAll(t);for(var%20d=%5B%5D,a=%5B%5D,i=0,l=0,s=0;s%3Co.length;s++)if(window.getComputedStyle(o%5Bs%5D).getPropertyValue('display')===r)%7Bd%5Bi%5D=o%5Bs%5D,i+=1,o%5Bs%5D.style.outline='.4rem%20dotted%20rgba(255,0,0,.5)';for(var%20c=0;c%3Co%5Bs%5D.children.length;c++)'none'!==window.getComputedStyle(o%5Bs%5D.children%5Bc%5D).getPropertyValue('display')&&(a%5Bl%5D=o%5Bs%5D.children%5Bc%5D,l+=1,o%5Bs%5D.children%5Bc%5D.style.outline='.1rem%20solid%20rgba(0,0,255,.25)')%7Dvar%20m=document.getElementById('ReadingOrderContainer');m&&m.parentNode&&m.parentNode.removeChild(m);var%20u=document.querySelector('body'),g=document.createElement('aside');g.id='ReadingOrderContainer',u.appendChild(g);var%20p=document.getElementById('ReadingOrderContainer'),h=1;for(c=0;c%3Ca.length;c++)%7Bvar%20f=a%5Bc%5D.getBoundingClientRect(),y=document.createElement('span');y.setAttribute('class','poscount'),y.setAttribute('tabindex','0'),y.innerText=h,y.style.left=f.left+'px',y.style.top=f.top+'px',p.appendChild(y),h+=1%7D%7Dcatch(e)%7Bconsole.log('getNodes():%20'+e)%7D%7D)()">Reading Order</A>
<DT><A HREF="javascript:(function()%7Bvar%20tota11y=document.createElement('SCRIPT');tota11y.type='text/javascript';tota11y.src='//khan.github.io/tota11y/tota11y/build/tota11y.min.js';document.getElementsByTagName('head')%5B0%5D.appendChild(tota11y);%7D)();">tota11y</A>
<DT><A HREF="javascript:(function()%7Bdocument.body.appendChild(document.createElement('script')).src='https://cdn.staticaly.com/gh/pauljadam/bookmarklets/master/axe.js';var%20iframes=document.getElementsByTagName('iframe');for(i=0;i%3Ciframes.length;i++)%20%7Biframes%5Bi%5D.contentDocument.body.appendChild(document.createElement('script')).src='https://cdn.staticaly.com/gh/pauljadam/bookmarklets/master/axe.js';%7D%7D)();">aXe.results</A>
<DT><A HREF="javascript:var%20firebug=document.createElement('script');firebug.setAttribute('src','http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js');document.body.appendChild(firebug);(function()%7Bif(window.firebug.version)%7Bfirebug.init();%7Delse%7BsetTimeout(arguments.callee);%7D%7D)();void(firebug);">Firebug Lite</A>
<DT><A HREF="javascript:!function()%7Bvar%20n,e,r,i;n=window,e=document.body,r=JSON.parse,i=JSON.stringify,n.isf%7C%7C(e.innerHTML=%22%3Cpre%3E%22+i(r(e.innerText),null,4).replace(/%5C%22(.*)%5B%5E%5C:%5D%5C:/g,'%3Cspan%20style=%22color:%239C3636%22%3E$1&colon;%3C/span%3E')+%22%3C/pre%3E%22,n.isf=!0)%7D();%20%20//usage:%20//save%20as%20bookmark%20and%20click%20it%20whenever%20you%20open%20a%20json%20response%20in%20a%20browser%20tab/window">Prettify</A>
<DT><A HREF="javascript:void(window.open('http://wave.webaim.org/report?url='+escape(window.location)))">WAVE this page!</A>
<DT><A HREF="javascript:(function()%7Bvar%20i,x;for(i=0;x=document.styleSheets%5Bi%5D;++i)x.disabled=true;%7D)();">zap style sheets</A>
<DT><A HREF="javascript:(function()%7Bvar%20D=document,e,styles=%22table,thead,tbody,tr,th,td%7Bdisplay:block!important;%7D*%7Bwidth:auto!important;height:auto!important;position:static!important;float:none!important;margin-left:0!important;margin-right:0!important;%7D%20img,iframe,embed,object%7Bdisplay:none;%7D%20body%20%7Bmargin:4px!important;%7D%22;%20e=D.createElement('link');%20e.rel='stylesheet';%20e.href=window.opera%20?%20%22javascript:'%22+styles+%22'%22%20:%20%22data:text/css,%22+styles;%20D.getElementsByTagName(%22head%22)%5B0%5D.appendChild(e)%7D)()">linearize</A>
<DT><A HREF="javascript:(function()%7Bvar%20newSS,%20styles='*%20%7B%20background:%20white%20!%20important;%20color:%20black%20!important%20%7D%20:link,%20:link%20*%20%7B%20color:%20%230000EE%20!important%20%7D%20:visited,%20:visited%20*%20%7B%20color:%20%23551A8B%20!important%20%7D';%20if(document.createStyleSheet)%20%7B%20document.createStyleSheet(%22javascript:'%22+styles+%22'%22);%20%7D%20else%20%7B%20newSS=document.createElement('link');%20newSS.rel='stylesheet';%20newSS.href='data:text/css,'+escape(styles);%20document.getElementsByTagName(%22head%22)%5B0%5D.appendChild(newSS);%20%7D%20%7D)();">zap colors</A>
<DT><A HREF="javascript:(function()%7Bfunction%20R(w)%7Btry%7Bvar%20d=w.document,j,i,t,T,N,b,r=1,C;for(j=0;t=%5B%22object%22,%22embed%22,%22applet%22,%22iframe%22%5D%5Bj%5D;++j)%7BT=d.getElementsByTagName(t);for(i=T.length-1;(i+1)&&(N=T%5Bi%5D);--i)if(j!=3%7C%7C!R((C=N.contentWindow)?C:N.contentDocument.defaultView))%7Bb=d.createElement(%22div%22);b.style.width=N.width;%20b.style.height=N.height;b.innerHTML=%22%3Cdel%3E%22+(j==3?%22third-party%20%22+t:t)+%22%3C/del%3E%22;N.parentNode.replaceChild(b,N);%7D%7D%7Dcatch(E)%7Br=0%7Dreturn%20r%7DR(self);var%20i,x;for(i=0;x=frames%5Bi%5D;++i)R(x)%7D)();%20javascript:(function()%7Bvar%20newSS,%20styles='*%20%7B%20background:%20white%20!%20important;%20color:%20black%20!important%20%7D%20:link,%20:link%20*%20%7B%20color:%20%230000EE%20!important%20%7D%20:visited,%20:visited%20*%20%7B%20color:%20%23551A8B%20!important%20%7D';%20if(document.createStyleSheet)%20%7B%20document.createStyleSheet(%22javascript:'%22+styles+%22'%22);%20%7D%20else%20%7B%20newSS=document.createElement('link');%20newSS.rel='stylesheet';%20newSS.href='data:text/css,'+escape(styles);%20document.getElementsByTagName(%22head%22)%5B0%5D.appendChild(newSS);%20%7D%20%7D)();%20javascript:(function()%7Bvar%20d=document;%20function%20K(N,w)%20%7B%20var%20nn%20=%20d.createElement(w),%20C%20=%20N.childNodes,%20i;%20for(i=C.length-1;i%3E=0;--i)%20nn.insertBefore(C%5Bi%5D,nn.childNodes%5B0%5D);%20N.parentNode.replaceChild(nn,N);%20%7D%20function%20Z(t,w)%20%7B%20var%20T%20=%20document.getElementsByTagName(t),%20j;%20for%20(j=T.length-1;j%3E=0;--j)%20K(T%5Bj%5D,w);%20%7D%20Z(%22blink%22,%20%22span%22);%20Z(%22marquee%22,%20%22div%22);%20%7D)();%20javascript:(function()%7Bvar%20H=%5B%22mouseover%22,%22mouseout%22,%22unload%22,%22resize%22%5D,o=window.opera;%20if(document.addEventListener/*MOZ*/&&!o)%20for(j%20in%20H)document.addEventListener(H%5Bj%5D,function(e)%7Be.stopPropagation();%7D,true);%20else%20if(window.captureEvents/*NS4*/&&!o)%20%7B%20document.captureEvents(-1/*ALL*/);for(j%20in%20H)window%5B%22on%22+H%5Bj%5D%5D=null;%7D%20else/*IE*/%20%7Bfunction%20R(N)%7Bvar%20i,x;for(j%20in%20H)if(N%5B%22on%22+H%5Bj%5D%5D/*NOT%20TEXTNODE*/)N%5B%22on%22+H%5Bj%5D%5D=null;for(i=0;x=N.childNodes%5Bi%5D;++i)R(x);%7DR(document);%7D%7D)();%20javascript:(function()%20%7B%20var%20c,%20tID,%20iID;%20tID%20=%20setTimeout(function()%7B%7D,%200);%20for%20(c=1;%20c%3C1000%20&&%20c%3C=tID;%20++c)%20clearTimeout(tID%20-%20c);%20iID%20=%20setInterval(function()%7B%7D,1000);%20for%20(c=0;%20c%3C1000%20&&%20c%3C=iID;%20++c)%20clearInterval(iID%20-%20c);%20%7D)();">zap</A>
<DT><A HREF="javascript:(function()%7Bfunction%20toArray%20(c)%7Bvar%20a,%20k;a=new%20Array;for%20(k=0;%20k%20%3C%20c.length;%20++k)a%5Bk%5D=c%5Bk%5D;return%20a;%7Dvar%20images,%20img,%20altText;images=toArray(document.images);for%20(var%20i=0;%20i%20%3C%20images.length;%20++i)%7Bimg=images%5Bi%5D;altText=document.createTextNode(img.alt);img.parentNode.replaceChild(altText,%20img)%7D%7D)();">zap images</A>
</HTML>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment