close the internet browser in silent mode

Hi,

Use following code in your javascript code to close the internet browser in silent mode.

top.window.opener = top;
top.window.open('','_parent','');
setTimeout('top.window.close()',500);

it would work on all browser .IE8,Crome, Safari And FireFox.

enjoy ..

Comments

Anonymous said…
Very good tip. But its not working in Opera, can you please help?
javaamtho said…
thanks for your attendance and i tested it on opera 10.5 version .its work as expected.

Popular posts from this blog

Step by step guide on how to pay Income Tax that is due

Simple way producer–consumer problem's implementation in NodeJs

Rajiv Gandhi Equity Savings Scheme