When embedding scripts like:
<script src=... async defer></script>
Is there a way to know when they're finished loading?
Usually when the window.load
event is called, one would expect all scripts to be ready as well. But I don't know if that still holds when you load them with async
or defer
. I've read some docs online but couldn't find anything conclusive on this issue.