You can also turn off the Windows Virtual Basic Scripting program using Control Panel. It will block the running of all scripts unless you say so. It is a pain sometimes to keep saying yes on sites like AR15.com, but it sure keeps those annoying pop up windows under control.
1. Push Start, go to settings, select Control Panel.
2. Select the Add/Remove Programs Icon
3. Select the Windows Set Up tab.
4. Scroll down to Accessories and select it.
5. Scroll down until you see the box for Windows Scripting Host and un-check the box to un-install this feature.
This is also a security measure that disables malicious scripts by allowing you to say no to running any scripts. If you decide you don't like it, you just reverse the process.
There are probably a lot of ways to do similar things, and this may not be one of the best, but it works.