var QVPL= {};
var pl = navigator.platform.toLowerCase();
var ipad = pl.match(/ipad/);
if (ipad) {
QVPL._clientPlatform = "ipad";
return true;
}
var iphone = pl.match(/iphone/);
if (iphone) {
QVPL._clientPlatform = "iphone";
return true;
}
var ipod = pl.match(/ipod/);
if (ipod) {
QVPL._clientPlatform = "ipod";
return true;
}
return false;
posted on 2011-12-11 14:28  袁晓平  阅读(1146)  评论(0编辑  收藏  举报