1. JavaScript / Говнокод #23377

    0

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    14. 14
    if($("#sel1").find("option:selected").val() != '0' && $("#sel2").find("option:selected").val() != '0'){
    if($("#sel1").find("option:selected").val()==1 && $("#sel2").find("option:selected").val()==1){
    window.location.href = "http://www.xiaoyi.com/dash/firmware/download/images/CABAA/FWCARC10.bin";
    }else if($("#sel1").find("option:selected").val()==1 && $("#sel2").find("option:selected").val()==2){
    window.location.href = "http://www.xiaoyi.com/dash/firmware/download/images/CABAA/firmware.bin";
    }else if($("#sel1").find("option:selected").val()==2 && $("#sel2").find("option:selected").val()==1){
    window.location.href = "http://www.xiaoyi.com/dash/firmware/download/images/CA21L_CA21W/FWCARC10.bin";
    }else if($("#sel1").find("option:selected").val()==2 && $("#sel2").find("option:selected").val()==2){
    window.location.href = "http://www.xiaoyi.com/dash/firmware/download/images/CA21L_CA21W/firmware.bin";
    }else if($("#sel1").find("option:selected").val()==3 && $("#sel2").find("option:selected").val()==2){
    window.location.href = "http://www.xiaoyi.com/dash/firmware/download/images/CABAC/firmware.bin";
    }else if($("#sel1").find("option:selected").val()==3 && $("#sel2").find("option:selected").val()==1){
    window.location.href = "http://www.xiaoyi.com/dash/firmware/download/images/CABAC/FWCARC10.bin";
    }

    Вот такая дичь случайно обнаружена на официальном сайте xiaoyi

    Запостил: vGamBIT, 02 Октября 2017

    Комментарии (2) RSS

    Добавить комментарий