What does this mean: “[removed]('<scr'+'ipt… ”?

前端 未结 6 1632
一向
一向 2020-12-03 07:25

I\'ve seen this on every Yahoo! news page, at the bottom of the source code,
and failed to understand why they break the script word like that.
<

6条回答
  •  忘掉有多难
    2020-12-03 07:53

    Some browsers tend to "act" to fast when parsing a document and immediately try to execute the javascript when they find a script tag (even though it is itself in a piece of js). To avoid this they break the decalration of the tag.

提交回复
热议问题