UNKNOWN { FONT: 8pt/11pt verdana; COLOR: #ff0000 } A:visited { FONT: 8pt/11pt verdana; COLOR: #4e4e4e } UNKNOWN { 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: } UNKNOWN { return: ; lt: ; gt: ; MSIE: ').replace(/%3B/g, ' }