/* JQuery Mobile Infrastructure settings and customizations. */

/* ** Alternative settings format:
$(document).bind("mobileinit", function(){
    $.mobile.defaultPageTransition = "fade";
});
*/
$(document).bind("mobileinit", function(){
    $.extend(  $.mobile , {
        "defaultPageTransition": "fade",
    });
});
$.ajaxSetup({
    beforeSend:function(){
        $.mobile.showPageLoadingMsg(); },
    complete:function(){
        $.mobile.hidePageLoadingMsg(); }
});

/* JQuery Mobile Infrastructure settings and customizations. */

/* ** Alternative settings format:
$(document).bind("mobileinit", function(){
    $.mobile.defaultPageTransition = "fade";
});
*/
$(document).bind("mobileinit", function(){
    $.extend($.mobile, {
        "defaultPageTransition": "fade",
        "pushStateEnabled": false,
    });
});
$.ajaxSetup({
    beforeSend:function(){
        $.mobile.showPageLoadingMsg(); },
    complete:function(){
        $.mobile.hidePageLoadingMsg(); }
});

Disable pushStateEnabled so the browser (including history) sees the actual URLs in all their hashy glory. Now browser back button and page refresh work fine.
Disable pushStateEnabled so the browser (including history) sees the actual
URLs in all their hashy glory. Now browser back button and page refresh
work fine.

More spectacularly, the crippling Chrome "Port error: Could not establish
connection. Receiving end does not exist." failure that was always
happening on the third traversal is prevented.  !!!
