RT,谢谢了

解决方案 »

  1.   

    用inet获取html,过滤掉<script ...>和</script>之间的内容,然后用webbrowser1.documents.write写入。
      

  2.   

    Do you want to disable script, or do you want to stop the script from popping up messages and such? If the former, see 
    http://msdn.microsoft.com/workshop/browser/overview/overview.asp Download Control section. You want DLCTL_NO_SCRIPTS. Alternatively, see IDocHostUIHandler::GetHostInfo, DOCHOSTUIFLAG_DISABLE_SCRIPT_INACTIVE 
    flag. 
    If you want only to suppress the script popping up messages, set the Silent property to true should have worked, or see IDocHostShowUI. 
    To implement all of this in VB, see KB Article KB183235 "WBCustomizer.dll implements IDocHostUIHandler for VB", 
    http://support.microsoft.com/kb/q183235/see also
    Disable webbrowser control script errors
    http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=43907&lngWId=1