Active Scripting (or sometimes called ActiveX Scripting) supports scripts in the Internet Explorer web browser. When enabled, scripts are free to run at will. However, you can disable scripts completely or force IE to ask you each time a script tries to open.
These instructions apply to Internet Explorer 11, which was introduced in 2013. IE was discontinued in early 2015 in favor of the new Microsoft Edge browser. IE 11 is still maintained by Microsoft.
How to Stop Scripts From Running in Internet Explorer
The Internet Properties control panel, not IE, controls scripting permissions:
Press Win+R to open the Run dialog box, then enter inetcpl.cpl.
In the Internet Properties dialog box, go to the Security tab.
In the Select a zone section, choose Internet.
In the Security level for this zone section, select the Custom level button to open the Security Settings - Internet Zone dialog box.
Scroll down to the Scripting section. Under the Active scripting header, select Disable.
You can also choose to have IE ask you for permission each time a script attempts to run rather than disabling all scripts. If you prefer, choose Prompt instead.
Select OK to exit the dialog box, then choose Yes to confirm that you want to change the settings for this zone.
Select OK to exit.
To restart Internet Explorer, exit the browser and then open it again.