sencha touch 2中判断游览器是否包含webkit的方法

<script type="text/javascript">
        if (!Ext.browser.is.WebKit) {
            alert("The current browser is unsupported.\n\nSupported browsers:\n" +
                "Google Chrome\n" +
                "Apple Safari\n" +
                "Mobile Safari (iOS)\n" +
                "Android Browser\n" +
                "BlackBerry Browser"
            );
        }
    </script>

posted @ 2013-08-30 11:10  范永强  阅读(175)  评论(0编辑  收藏  举报