Reputation: 3600
I have an error which appear when I import jQuery lib only. I don't know what I can do. I know that it's coming from the file jquery.min.js.
Here is my simple page causing this error :
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
What I get from my console :
Upvotes: 3
Views: 1608
Reputation: 18493
This error has nothing to do with jQuery or its CDN.
From the error log, you can see that the error originates from webspeed.js
. Since you precise that you only import the jQuery script, this shows that this error originates from an extension.
The script tries to contact speedtest.net
and the request gets blocked by CORB, thus throwing an uncaught error. This also gives a hint that the extension is made likely to be offered by speedtest.net
or a related corporation. As @alon-eitan found, this is indeed the case: the speedtest extension includes such a script that has been known for triggering similar errors.
Pausing the extension or configuring it not to run on your website is likely to fix the error. I'd recommend removing it completely, as network speed analysis and much more can already be natively performed by Chrome thanks to Lighthouse.
Upvotes: 3