Razzle Dazzle

(dazzle, awesome, javascript, less whining, please)

April looks a little sparse, I know. I have actually written two updates since the last one, but they were so full of whining and ex-pat nonsense that I decided not to post them. Trust me, you really aren’t missing much.

What we really need to talk about is awesome things. And what’s more awesome than dazzle ships?

DAZZLE!

title

SHIPS!

title

They’re like the New Aesthetic a century before its time. But I know what you’re thinking - you’re thinking “how can I apply the awesomeness of dazzle camouflage to my Web 2.0-compliant setup?”

PRESENTING: dazzle.js

Dazzle.js will tastefully apply a dazzle pattern to any and all web pages. It searches out all divs and alters the CSS styling to add a (pure CSS, I might add) varying set of dazzle patterns across the page. Your pages will then be safe from the U-boat menace.

Dazzle.js is, in a typically British fashion, dependent on nothing except for having a WebKit or Mozilla-based browser. No jQuery, no images, just good, old-fashioned grit. It comes in at 586 bytes after minification, so it would just about fit on a ZX81.

Drag this link to your bookmark bar to add it to your browser, and then click on the bookmark when The Hun approach.

Code is up at GitHub. Includes semi-colons, just to annoy hipsters.

blog comments powered by Disqus