4
Answers

Static Class usage

San

San

8y
270
1
Why and when should static class be used ? What is the advantage of using static class ?
Answers (4)
0
Crish

Crish

NA 3.7k 76.4k 14y
Detect popup blocker.
<script type="text/JavaScript" language="JavaScript">
 var mine = window.open('','','width=1,height=1,left=0,top=0,scrollbars=no');
 if(mine)
    var popUpsBlocked = false
 else
    var popUpsBlocked = true
 mine.close()
</script>