David N Brooks Designer, Developer, Musician, Artist, and Writer

Hello! I’m David, an interactive designer, musician, artist, and writer living in Georgia.

Home Security 101: What Not to Do

7 November 2007

Well it happened, I stepped in my own bear trap.

I decided to see how my new site was working by using Crazy Egg as a barometer of where people are clicking.

What I should have seen was something like this:

A view of what Crazy Egg.com should have displayed

What I actually saw was this:

The carebear rears its ugly head at me - my security system fails

Not wanting to disable the example I added these two lines of code to the script. If you’re using the script, you might want to add these in if you decide to try out Crazy Egg. Just add them to the top of the page after the other exclusions and whatnot and things should work properly from within Crazy Egg.

if (eregi("http://crazyegg.com", $httpref)) { $valid="valid"; }
if (eregi("http://www.crazyegg.com", $httpref)) { $valid="valid"; }

About Me

I'm David Brooks, an interactive designer, generative artist, and electronic musician from Michigan. During the day I build things for Artletic, a great UX studio in Colorado. At night I create art and write music as Light The Deep and craft applications like Thousand Wires, JavaScript libraries like ArtisanJS, and build interesting things for the amazing clients of Northward Compass.

Read My Full Bio

You Also Might Like...

Technically Speaking

This site runs on the Textpattern content management system. CSS is precompiled by SASS, of course. Only a handfull of JavaScript libraries are in use, most notably Grunt. The visuals are done (by me) in Processing and Modo. The fonts are delivered with love by Typekit.


365 Days of Paleo/Progress

On July 1, 2014 I started into a year of Paleo and better health.
Here's my progress at a glance.

-18.2 lb. Weight

72 oz. Water Per Day

1787 Ave. Calories

See the progress

© Copyright 2005 - 2016 David Brooks. All rights reserved.