The above is the whole code of the test.htm.
onunload = function()
var i = new Image();
i.src = "goodbye.htm";
this is test page.<br>
<a href=another.htm> another page </a>
When I click the close button(x button) to close the window,
When I click the link to move to another.htm,
When I enter a new address in the address input box
I can't find any trace of it visiting goodbye.htm.
Do you see something wrong in my code?