IE瀏覽器不能運行js JS代碼失效不能運行了如何解決
2024-05-08 13:45:09
供稿:網友
IE不能運行js,在IE瀏覽器js代碼失效,js不能運行了怎么辦,一些網站里面的js特效不能使用了,一些效果都沒法顯示出來。
如果你的IE不能打開js腳本(連系統里所有的js文件都不運行,網頁上的js廣告或好多頁面都顯示不了),請按一下步驟進行排查與解決:
1.查看是否IE的安全里面禁止了JS的運行:
將工具=>internet選項==>高級=>禁止腳本調試去勾,顯示腳本顯示提示打上勾,如果還沒反應
2.看是否裝了殺毒軟件禁止了用程序打開窗口,檢查設置.
3.手動修復IE瀏覽器:開始→運行,分別輸入以下內容:
regsvr32 Shdocvw.dll ==》確定
regsvr32 Oleaut32.dll ==》確定
regsvr32 Actxprxy.dll ==》確定
regsvr32 Mshtml.dll ==》確定
regsvr32 Urlmon.dll ==》確定
regsvr32 browseui.dll ==》確定
作用:
a、同時運行以上命令不僅可以解決IE不能打開新的窗口,用鼠標點擊超鏈接也沒有任何反應的問題;
b、還能解決大大小小的其它IE問題,比如網頁顯示不完整,JAVA效果不出現,網頁不自動跳轉,打開某些網站時總提示‘無法顯示該頁’等。
4.如果還是不行,應該是JS腳本沒有注冊或者JS腳本被卸載的原因
開始→運行,輸入以下內容:輸入 regsvr32 jscript.dll ==》確定
輸入regsvr32 vbscript.dll==》確定
5.如果以上設置沒有問題或是還不能解決js腳本不執行的問題,請把以下代碼用記事本的形式編寫,而后再以*.bat的后綴保存.
rundll32.exe advpack.dll /DelNodeRunDLL32 %systemroot%/System32/dacui.dll
rundll32.exe advpack.dll /DelNodeRunDLL32 %systemroot%/Catroot/icatalog.mdb
regsvr32 /s comcat.dll
regsvr32 /s asctrls.ocx
regsvr32 /s oleaut32.dll
regsvr32 /s shdocvw.dll /I
regsvr32 /s shdocvw.dll
regsvr32 /s browseui.dll
regsvr32 /s browseui.dll /I
regsvr32 /s msrating.dll
regsvr32 /s mlang.dll
regsvr32 /s hlink.dll
regsvr32 /s mshtml.dll
regsvr32 /s mshtmled.dll
regsvr32 /s urlmon.dll
regsvr32 /s plugin.ocx
regsvr32 /s sendmail.dll
regsvr32 /s mshtml.dll /i
regsvr32 /s scrobj.dll
regsvr32 /s corpol.dll
regsvr32 /s jscript.dll
regsvr32 /s msxml.dll
regsvr32 /s imgutil.dll
regsvr32 /s cryptext.dll
regsvr32 /s inseng.dll
regsvr32 /s IEsetup.dll /i
regsvr32 /s cryptdlg.dll
regsvr32 /s actxprxy.dll
regsvr32 /s dispex.dll
regsvr32 /s occache.dll
regsvr32 /s IEpeers.dll
regsvr32 /s urlmon.dll /i
regsvr32 /s cdfvIEw.dll
regsvr32 /s webcheck.dll
regsvr32 /s mobsync.dll
regsvr32 /s pngfilt.dll
regsvr32 /s licmgr10.dll
regsvr32 /s hhctrl.ocx
regsvr32 /s inetcfg.dll
regsvr32 /s trialoc.dll
regsvr32 /s tdc.ocx
regsvr32 /s MSR2C.DLL
regsvr32 /s msident.dll
regsvr32 /s msIEftp.dll
regsvr32 /s xmsconf.ocx
regsvr32 /s ils.dll