Why use [removed]?

后端 未结 9 1261
孤街浪徒
孤街浪徒 2021-01-01 16:34

I was wondering why ad\'s still use the document.write approach to inserting the add into the page



        
9条回答
  •  一向
    一向 (楼主)
    2021-01-01 16:59

    A traditional script tag will block the page while it is loading and executing. A script loaded with document.write will work asynchronously. That's why you see this on ads or analytics, as such scripts don't influence the page content directly.

提交回复
热议问题