document.links

Document.links empty after calling document.close

When you execute following example using Firefox 3: <html> <head> <script language="javascript" type="text/javascript"> <!-- function openWindow(){ var w = window.open('', 'otherWin', 'width=600,height=600'); w.document.write(document.getElementsByTagName("html")[0].innerHTML); w.document.close(); reportLinks(w....