IE security settings set to high - javascript not

2019-02-14 11:15发布

问题:

As soon as I set the IE security settings to high the javascript on my page stops executing. It doesn't throw an error or anything, and not even alert works. if I set the security settings back to medium everything works as it should. Has anybody ever experienced something like this?

回答1:

This behavior is by design.
The High security setting disables Javascript.



回答2:

Setting security settings to high in Internet Explorer disables JavaScript:



回答3:

you can use "noscript" tag to display a message when javascript is disabled. But as you can guess, you can not write javascript inside that block.