Expand|Select|Wrap|Line Numbers
- (function()
- {
- setTimeout('newWindow()',3000000);
- setTimeout('logout()', 3600000);
- }());
Expand|Select|Wrap|Line Numbers
- if (navigator.userAgent.indexOf("Safari")==-1 )
- {
- (function()
- {
- setTimeout('newWindow()',3000000);
- setTimeout('logout()', 3600000);
- }());
- }
Expand|Select|Wrap|Line Numbers
- if (navigator.userAgent.indexOf("Safari")==-1 )
So the above code not getting executed for SAFARI as well as CHROME, But I want it to get executed for all the browser except SAFARI.
Basically, I have two requirements.
1. Function should work properly for SAFARI also
OR
2. Function should be executed for all the browser except SAFARI.
Thanks in advance.
Swapnil