This article describes how to solve the failure of IE Javascript scripts. Of course, the failure of scripts is also important. Sometimes, all the pages are corrupted, and all the pictures and texts are displayed incorrectly, in fact, it is easy to find and solve the problem if it is so bad.
Solution to failure of IE Javascript script
Of course, the failure of the script is also important. Sometimes all the pages are corrupted, and all the pictures and texts are displayed incorrectly. In fact, the bad ones are so thorough, but they are easy to find and solve. The most feared is the situation where there are no minor problems and BASIC script effects are supported, that is, when the Function Method of window. opener is called, the error is reported: the class cannot support Automation operations. Such specific error information cannot be found in Baidu/Google.
Strictly speaking, it is hard to say that it is an Internet Explorer error. However, based on experience, you may often make a hard job on Internet Explorer. For example, you may upgrade Internet Explorer 6 to Internet Explorer 7/Internet Explorer 8, or reinstall it to fix third-party software to varying degrees, generally, the problem cannot be solved. If you need a reason, you must have installed a patch or uninstalled a software on a Trojan on a certain day of the year, as a result, a dynamic extension of a component is unregistered and cannot support certain effects ......
Speaking of this, the regsvr32 command is a command line tool for registering DLL dynamic extension libraries. Method: Enter regsvr32dllname in "run" and press Enter. There are several parameters in use:
- /U -- anti-Register Control
- /S -- no matter whether the registration is successful or not, the prompt box is not displayed
- /C -- console output
- /I -- skip the control option for installation (different from registration)
- /N -- do not register the control. This option must be used with the/I option.
I have extracted several methods to solve the failure of the IEJavascript script from the Internet, and executed them gradually. The machine does not need to be restarted.
At the simplest level, register two script libraries, as shown in the figure above ):
- regsvr32jscript.dll
- regsvr32vbscript.dll
If not, register a few more items, including the connection failure to open a new window, etc ):
- regsvr32Shdocvw.dll
- regsvr32Oleaut32.dll
- regsvr32Actxprxy.dll
- regsvr32Mshtml.dll
- regsvr32Urlmon.dll
- regsvr32browseui.dll
If not, copy the following code to the CMD command line and paste it for execution:
- rundll32.exeadvpack.dll/DelNodeRunDLL32%
- systemroot%\System32\dacui.dll
- rundll32.exeadvpack.dll/DelNodeRunDLL32%
- systemroot%\Catroot\icatalog.mdb
- regsvr32/scomcat.dll
- regsvr32/sasctrls.ocx
- regsvr32/soleaut32.dll
- regsvr32/sshdocvw.dll/i
- regsvr32/sshdocvw.dll
- regsvr32/sbrowseui.dll
- regsvr32/sbrowseui.dll/i
- regsvr32/smsrating.dll
- regsvr32/smlang.dll
- regsvr32/shlink.dll
- regsvr32/smshtml.dll
- regsvr32/smshtmled.dll
- regsvr32/surlmon.dll
- regsvr32/splugin.ocx
- regsvr32/ssendmail.dll
- regsvr32/smshtml.dll/i
- regsvr32/sscrobj.dll
- regsvr32/scorpol.dll
- regsvr32/sjscript.dll
- regsvr32/smsxml.dll
- regsvr32/simgutil.dll
- regsvr32/scryptext.dll
- regsvr32/sinseng.dll
- regsvr32/siesetup.dll/i
- regsvr32/scryptdlg.dll
- regsvr32/sactxprxy.dll
- regsvr32/sdispex.dll
- regsvr32/soccache.dll
- regsvr32/siepeers.dll
- regsvr32/surlmon.dll/i
- regsvr32/scdfview.dll
- regsvr32/swebcheck.dll
- regsvr32/smobsync.dll
- regsvr32/spngfilt.dll
- regsvr32/slicmgr10.dll
- regsvr32/shhctrl.ocx
- regsvr32/sinetcfg.dll
If it doesn't work, I can't pull it either. I just won't be able to solve the problem here, so I will record it here. PS: theoretically, these are just re-registering existing files. Even if the problem cannot be solved, it will not cause other problems.