简体   繁体   中英

Load resources without displaying the “loading” spinner

I'm loading a large Javascript file asynchronously as part of a long form. The script is used only at the end of the form. However, when I open the form, my browser (Chrome and Firefox) displays the "loading" spinner when the script is loading, even though it isn't needed yet. Is it possible to prevent the browser from displaying the spinner when loading a resource? (don't have to be a script)

If a solution is available, I know it'll be different for each browser. I only care about the latest version of Chrome, FF, and IE.

The loading spinner is not a default behavior when asynchronously loading something; the script used to load the resource is probably at fault here. If you could edit your post to include it, we could more easily help you

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM