this code work 100% in "google Chrome Browser" but its not working on "Firefix" how i solve this problem?
    $(".one_post").click(function() {
    switch (event.which) {
        case 1:
            window.document.location = $(this).attr("href");
            break;
        case 2:
            $(this).target = "_blank";
            window.open($(this).attr("href"));
            break;
        }
    });
     $(".os_new_ads_lis_city").click(function() {
        window.document.location = $(this).attr("href");
    });
     $(".os_new_ads_list_category").click(function() {
    window.document.location = $(this).attr("href");
    });
 
    