Now I have looked at a few sites on the internet and everyone says these are the steps.
- Open 'Internet Options'.
- Click on the 'Security' tab.
- Select the 'Internet' zone
- click on the 'Custom level...' button.
- Scroll down till you find the 'Scripting' section.
- Under 'Active scripting', select 'Disable'.
I repeated steps 4 - 6 to disable for 'Local intranet' and 'Trusted sites' zones as well. (The 'Restricted sites' zone has already set 'Active scripting' as disabled).
7. Close and open Internet Explorer 9 to restart it.
However, I see that Javascript still executes. I run the following bit of code to verify. The backround always turns red.
<html>
<body style="background-color:white">
<p>Paragraph 1</p>
<script type="text/javascript">
document.bgColor = "RED";
</script>
</body>
</html>
On Firefox and Chrome, I can easily turn off Javascript and the background is always white.
N.B. - I execute the htm file with javascript by double clicking it. It isn't being served from a web server.
<script>
that calls a simplealert()
. The alert keeps popping up, regardless. WUWT?