STYLE A:link { COLOR: #ff0000; FONT: 9pt/11pt 宋体 } A:visited { COLOR: #4e4e4e; FONT: 9pt/11pt 宋体 } SCRIPT function Homepage { in: res://shdocvw.dll/http_404.htm#http://www.DocURL.com/bar.htm //For testing use DocURL = "res://shdocvw.dll/http_404.htm#https://www.microsoft.com/bar.htm" DocURL = document.URL; this: DocURL.indexOf("/",protocolIndex + 3); for: , and go to the next slash displayresult=DocURL.substring(protocolIndex + 3 ,serverIndex); BeginURL: DocURL.indexOf("#",1) + 1; urlresult: DocURL.substring(BeginURL,serverIndex); InsertElementAnchor(urlresult,: } function HtmlEncodetext { return: InsertElementAnchor(urlresult,/&/g/'/g//g } function TagAttribname { return: "'+HtmlEncode(value)+'"'; } function PrintTag(tagName, needCloseTag, attrib, inner){ document.write( '<' + tagName + attrib + '>' + HtmlEncode(inner) ); if (needCloseTag) document.write( '' ) } value { return: "'+HtmlEncode(value)+'"'; } function PrintTag(tagName, needCloseTag, attrib, inner){ document.write( '<' + tagName + attrib + '>' + HtmlEncode(inner) ); if (needCloseTag) document.write( '' ) } function URIhref { return: ='.' && IEVer >= '5.5') ? encodeURI(href) : escape(href).replace(/%3A/g, ':').replace(/%3B/g, ';'); IEVer: IEVer.substr( IEVer.indexOf('MSIE') + 5, 3 ) } function InsertElementAnchorhref { PrintTag('A',: } text { PrintTag('A',: } VAR hdocument.hostname h.toLowerCase VAR h1h.length-7 { FONT: 9pt/11pt 宋体">

或请尝试下列操作: