qq19800582012-08-29关注foreachainWebBrowser1.Document.getElementsByTagName("a")ifinstr(a.href,"index.jsp?sid=")thenmsgboxa.innertext'a.clicknext