Firefox - unlike Chrome - allows any web application to register any keyboard shortcuts (y'know the infamous CTRL + C). This might be a problem for users relying on keyboard navigation or even just general keyboard controls. This post shows a way prevent websites from capturing and muting essential commands such as CTRL + W (to close a tab).
Continue reading "Reclaim Your Keyboard Shortcuts in Firefox"
While testing frontend issues, you may be confronted with verifying a feature's functionality while the document is still in parsing mode. That is before the DOMContentLoaded event was triggered. Or maybe the test needs to be run in between DOMContentLoaded an load events. Or some other weird stuff. Here's how…
Continue reading "Delaying onDOMContentLoaded and onload events"
The little bugger, a result of being overly clever, cost me an hour of debugging. Don't repeat my mistakes, clear your loops!
Continue reading "Be wary of reference loops in PHP"
I have just come across an article by @wealthfront explaining how debouncing event handlers helps filtering double-clicks. While I like the idea, it doesn't quite cover it. The problem is rooted deeper than double click and this post will explain why that is and how to fix it.
Continue reading "Preventing Duplicate Execution"
It seems my world has become doing everything but writing Javascript. One of my rather frequent tasks these days is reviewing code. While this post is targeted at a specific project, it's the perfect little reminder everyone needs from time to time (including lazy ol' me…).
Continue reading "jQuery - The Little Things - 2"