diff --git a/index.html b/index.html index 8e00597..d17f561 100755 --- a/index.html +++ b/index.html @@ -24,6 +24,7 @@ XXX scrollTo is a cool and a powerfull tool but it needs a sustantial code reorg + @@ -703,6 +704,13 @@ $(document).ready(function(){ + + + User Agent: + + + + @@ -760,6 +768,7 @@ $(document).ready(function(){ $('#FingersSupported').text($.fn.swipe.fingers.ALL) var b = $('#BrowserInfo') $.each($.browser, function(i, e){$('
'+i+': '+e+'
').appendTo(b)}) + $('#UserAgent').text(navigator.userAgent) } function toggleSetting(obj){ obj = $(obj) diff --git a/platform.js b/platform.js new file mode 100755 index 0000000..710924b --- /dev/null +++ b/platform.js @@ -0,0 +1,7 @@ + + +// PhoneGap... +if(navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry)/)){ + UPDATE_HASH_URL_POSITION = false + FULL_HISTORY_ENABLED = false +}