Ajax 后退按钮?

Ajax 后退按钮?,ajax,jquery,Ajax,Jquery,我有以下jQuery代码: $("a").click(function() { if ($(this).attr('href') != '#') { if (strpos($(this).attr('href'), 'mob.php') !== false) { $.ajax({ url: $(this).attr('href')+"&logo=0", cache: false,

我有以下jQuery代码:

$("a").click(function() {
    if ($(this).attr('href') != '#') {
        if (strpos($(this).attr('href'), 'mob.php') !== false) {
            $.ajax({
              url: $(this).attr('href')+"&logo=0",
              cache: false,
              success: function(html){
                $("#ajax").html(html);
              }
            });
            return false;
        }
    }
});
问题是,当有人按下后退按钮时,他们会离开网站,而不是返回上一页。这有什么办法吗