Change URL hash without page jump
Learn how to change the URL hash without causing a distracting page jump using the History API and a fallback for older browsers.
Learn how to change the URL hash without causing a distracting page jump using the History API and a fallback for older browsers.
Explains using the HTML5 `oninput` event with `onkeydown` as a fallback for older browsers, including a jQuery plugin example.
Introducing StronglyTyped, a JavaScript library for adding strongly typed properties and constants using ES5 getters/setters.
A technical deep dive into JavaScript's Strict Mode, covering its invocation, rules, browser support, and practical examples.
A developer shares insights from a WordPress meetup talk on HTML and PHP basics, explaining how to edit code without breaking a site.
A technical guide to safely overriding global `setTimeout` and `setInterval` in JavaScript, covering browser compatibility and pitfalls.
An in-depth exploration of JavaScript's comma operator, covering its syntax, precedence, and practical use cases in code.
A guide to creating complex, readable regular expressions in JavaScript by composing them from smaller, reusable sub-patterns.
A script to automatically convert standard CSS gradient syntax to the older, cumbersome -webkit-gradient format for broader browser support.
Explores JavaScript's Object.keys() and Object.getOwnPropertyNames() methods for improved object property enumeration and iteration.
A developer recounts creating a web-based photo clock using the Flickr API, modern JavaScript, and jQuery during a company-wide coding challenge.
A JavaScript library that adds Firebug-style increment/decrement functionality for length values in text fields using keyboard arrows.
A defense of the hashbang (#!) in URLs, arguing it's a necessary trade-off for building rich web applications like Twitter, not a flaw in the web itself.
Explains how to enable AirPlay video streaming for web videos in iOS Safari using a JavaScript bookmarklet and proprietary HTML attributes.
Explains how to use Google Analytics event tracking and fake pageviews to gain deeper insights beyond basic website metrics.
A guide on converting a simple bookmarklet into a Chrome extension, covering manifest.json and background scripts.
A technical guide on reverse-engineering and speedrunning Dropbox's 2011 Dropquest scavenger hunt to achieve the fastest possible completion time.
A guide to hiding content from screen readers and making JavaScript widgets accessible using CSS and JavaScript techniques.
A developer's 2010 entry for the JS1k contest: a compact, canvas-based drawing app created with native JavaScript under 1KB.
Explains common pitfalls in JavaScript benchmarking and introduces tools like jsPerf and Benchmark.js to create reliable performance tests.