Why does this [removed] iframe ads code completely break Internet Explorer?

前端 未结 6 1120
青春惊慌失措
青春惊慌失措 2021-02-13 14:19

So, I\'m trying to find an answer to why this problem is happening; I\'ve fixed the problem, but I want to know why it happened.

TL;DR

Google-provided conversi

6条回答
  •  悲哀的现实
    2021-02-13 14:43

    document.write() blocks further page rendering until it finishes. I assume that the remote script was taking a while to load, and thus blocking the rest of the page from loading.

    I also assume that Math.Random() function doesn't help matters.

    Also...Google's tracking codes scare me...they tend to be ugly hacks of javascript.

提交回复
热议问题