13
5月
0

ユーザーエージェントを利用せずにIE5.0以上かどうかを判定するJavaScript


ちょっと調べる機会があったので・・・

function CheckIEVersion() { var retValue = 0; //IEなら真 var isMSIE = /*@cc_on!@*/false; if (isMSIE) { if(typeof ScriptEngineMajorVersion){ //IE5以降なら5 retValue = ScriptEngineMajorVersion(); } } return retValue; }

それと4月のスパム対策の統計です。
Postfix単体で100%
Postfix+Procmailで99.54%
でした( ´ー`)

Enjoyed reading this post?
Subscribe to the RSS feed and have all new posts delivered straight to you.
Post your comment



Celadon theme by the Themes Boutique