多了就不说了,直接上代码:

function checkIsIphoneIpad()
{
var pda_user_agent_list = new Array(“iPhone”, “iPod”, “iPad”/*, “GTB”*/);
var pda_app_name_[......]