FireFox, Loading JS that block all the rest of the page loading... (FireFox)

Hi everyone,

In my page I have something like :

<!DOCTYPE html>

<html lang="en">


    <title>A title</title>

    <meta charset="utf-8">

    <script src=""></script>


But if for any reason the

<script src=""></script>

can’t load on the user Internet browser ex: (firewall, offline etc…)

Then the loading and CSS animation ! (WTF) of the page is on hold until (I assume) the browser timeout trigger and the rest of the page continue to load.

I’ve try to put the script at the bottom of the HTML code but doesn’t help,


<script src="" type="module" async></script>

Any ideas ?