Yeah, I even have a blog on my website! This is the place where I drop short write-ups with tips and tricks, offer old hardware for sale, maybe even share a song with you, my dear audience and (future) clientele.
Blog
Track That!
This function tracks every event with all its attributes in the div that's set in the caller function. Handy if you need custom tracking for your AB test. var trackThat = function() { var t = {}, r = {}, a = window.event ? window.event.srcElement : i.target, c = document.getElementsByTagName(a.tagName), k = ""; try { for (var d = 0; d < c.length; ++d) c[d] == a && (r.tag = a.tagName, r.index = d, r.text = … [Read more...] about Track That!
A smarter console.info
Here is a little piece of code you can use in your project for slightly smarter console messages. Objects and arrays are handled differently when logged to the console than strings. Firebug gives you a stringified version of the object while console.dir gives you an expandable object. Both give you the expandable object in Chrome. To work around this you can use this little snippet, it will always give you the correct version. var debug = function(message) { "object" … [Read more...] about A smarter console.info