Login | Register | FAQ
Anonymous

Question,want answer

+ Post a reply

4 posts Page 1 of 1


Question,want answer

by supraja » Thu Sep 20, 2012 9:57 am

how to check all versions of internet explorer's popup blocker enable or disable using javasript?
User avatar

supraja

  • Posts: 5
  • Joined: Thu Sep 20, 2012 9:53 am

Re: Question,want answer

by hariinakoti » Thu Sep 20, 2012 11:42 am

<script type="text/javascript" language="javascript">
winHandle=window.open("","","")
if(winHandle ==null){
alert(
"Error: While Launching New Window...nYour browser maybe blocking up Popup windows. nn Please check your Popup Blocker Settings");
}
</script>
User avatar

hariinakoti

  • Posts: 5
  • Joined: Thu Sep 20, 2012 11:39 am

Re: Question,want answer

by supraja » Thu Sep 20, 2012 12:07 pm

hariinakoti wrote:<script type="text/javascript" language="javascript">
winHandle=window.open("","","")
if(winHandle ==null){
alert(
"Error: While Launching New Window...nYour browser maybe blocking up Popup windows. nn Please check your Popup Blocker Settings");
}
</script>



thanks..but it not working in IE7
User avatar

supraja

  • Posts: 5
  • Joined: Thu Sep 20, 2012 9:53 am

Re: Question,want answer

by Mister_grey2010 » Tue Oct 09, 2012 3:18 am

Use navigator object. It contains all information about the web browser. window.navigator.userAgent
http://web-design-lessons.com/articles/article/1/Javascript%20Browser%20Detection
User avatar

Mister_grey2010

  • Posts: 22
  • Joined: Wed Jan 04, 2012 6:44 pm


+ Post a reply

Page 1 of 1

?>