JavaScript to detect when external javascripts are loading

前端 未结 5 933
一个人的身影
一个人的身影 2020-12-30 09:42

Is there a way (event listener or otherwise) to detect when a particular external javascript is about to load / is loading / has finished loading?

In otherwords, do

5条回答
  •  [愿得一人]
    2020-12-30 10:38

    Since all browsers blocks the "UI thread" when processing

提交回复
热议问题