Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Initializing page loading browser indicator/animated icon with JavaScript

Is there an easy way to start and stop the browser throbber (page loading indicator) without changing the page you are on? Preferably with no external libraries or AJAX calls.

like image 643
William Avatar asked Dec 28 '12 14:12

William


1 Answers

No. You could try to force it to spin by performing ajax calls or whatever, but don't. That part of the browser isn't for you, it's for the browser!

This is kinda like asking if you can change the system clock so that your game that includes a time machine is more realistic.

like image 134
Rich Bradshaw Avatar answered Nov 11 '22 07:11

Rich Bradshaw