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. As som
![LoadingBar.js: Adding a YouTube-Like Loading Bar to Your Website](https://cdn-ak-scissors.b.st-hatena.com/image/square/3838587c440b0c123c2c84946f3166ffb7e82e30/height=288;version=1;width=512/https%3A%2F%2Fonextrapixel.com%2Fwp-content%2Fuploads%2F2013%2F08%2Fyt-featured-180.jpg)