禁用javascript时刷新网页

时间:2016-07-20 07:37:17

标签: javascript google-chrome firefox google-chrome-devtools

在Firefox中,当用户在开发者工具中单击禁用javascript时,页面会刷新,但在Chrome中则不会。

有没有办法在chrome上刷新页面?

1 个答案:

答案 0 :(得分:0)

尝试:

<noscript><meta http-equiv="refresh" content="0"></noscript>

有关META标记的更多详细信息:https://en.wikipedia.org/wiki/Meta_refresh