JavaScriptでIEかどうかをたったの1行で判別する方法
なんと、次の1行だけで、isMSIE 変数に、
IEで見れば true 、そうでなければ false を代入することができる。
var isMSIE = /*@cc_on!@*/false;
This is a tumblelog, kinda like a blog but with short-form, mixed-media posts with stuff I like. Scroll down a bit to start reading, or a bit more to read more about me.
なんと、次の1行だけで、isMSIE 変数に、
IEで見れば true 、そうでなければ false を代入することができる。
var isMSIE = /*@cc_on!@*/false;