I have been hacking around with Firefox and extensions and realized that window.close() doesn't work on Firefox tabs. Aparently there is a hack available for this. I was also surprised that there is actually a firefox extension wizard available to created Firefox extensions. I don't think such a thing exists for IE. But if you know please let me know.