Console shows me these warnings below on my webpage with Disqus comments:
Why is their script so full of warnings? Should I / can I even fix it?
As I understand, it says that the browser preloads some resources that are not used afterwards on this page. If you don't like these warnings for some reason, try to get rid of something like (my guess)
<link rel="preload (or prerender)" href="//disqus.com">
in the head
section of your html-template and keep me posted :) Probably, you should include preloading only on pages where disqus comments get actually loaded.
PS. I checked my site where disqus is used too. I don't use any library's/framework's component to load disqus comments though. Indeed, Disqus script adds this:
<link rel="preload" as="script" href="https://c.disquscdn.com/...">
in the head
section for several resources. So, I think the reason given above is valid. Generally, it is browsers' stuff. I get warnings in Blink-based Google Chrome and Opera and empty console in Mozilla Firefox (Gecko-based) and Microsoft Edge (EdgeHTML-based). In the end, don't worry - those are just warnings related to internal browser stuff caused by the way disqus script behaves - I think we cannot change it (unless you just remove the whole disqus stuff from your site).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With