A simple, yet not quite foolproof method to determine if an onbeforeunload event was cause by actually closing the browser window or tab.
Don’t bother reading this post. It satisfies a personal itch and will appeal to maybe 1% of the webdev crowd. I’ll do better next time!
One usability enhancement that I recently became aware of was the ability of a website to store my expand / collapse state of various elements on the page, between page loads.
Maintaining scroll position between page loads is one of those “silent” usability enhancements that makes users love using your website without really knowing why. It only makes sense in certain applications and there are a few ways to make it happen.
The browser back button has been a thorn in every web developers side since the early days of the web. HTML 5 storage offers us a unique way to avoid using AJAX to updated certain page elements in the event that the back button is pressed.
AJAX has been a blessing, but with the vast majority of browsers now support HTML 5 storage, we have an opportunity to enhance web user interfaces in a more efficient way.
Are you loading social network button scripts on your site unnecessarily, and increasing your page load time in the process?