How do I display html within chrome's noscript tag?

感情迁移 提交于 2019-11-30 21:30:26

问题


When I view noscript in Chrome I'm seeing raw html displayed when JavaScript is turned off.

This:

<!DOCTYPE html>
<head></head>
<body>
<noscript>
    <div>No Javscript</div>
</noscript>
</body>

Will display:

<div>No Javscript</div>

This used to work, so I'm guessing there was a regression, but I can't find anything about it on the web. In other browsers(safari, firefox), I don't see the HTML. I'm using Chrome 26.0.1410.43 on OS X 10.7.5


回答1:


Refreshing the page twice fixes this issue.

And it only appears when you first switch to disabling javascript (i.e. someone who browses with javascript disabled would not experience it)




回答2:


Ah, I spoke too soon. Turning off AdBlock is the answer.



来源:https://stackoverflow.com/questions/15800526/how-do-i-display-html-within-chromes-noscript-tag

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!