LoadingBar.js: Adding a YouTube-Like Loading Bar to Your Website

YouTube have recently added a red loading bar at the top of the page to indicate that the next page is loading. You may wonder why they didn’t rely on the browser’s loading bar. That’s because the next page is being loaded with AJAX which doesn’t trigger the normal page load mechanism. That’s why the browser didn’t pick it up....

LoadingBar.js: Adding a YouTube-Like Loading Bar to Your Website