CDKeys购物后手机验证码收不到解决办法

那个网页加载很坑,可以用js解决,浏览器F12切换到console/控制台,输入,之后点击send sms

function InitVerify(order,type){
        var input = document.querySelector('#phone');
        var iti = window.intlTelInputGlobals.getInstance(input);
        var intlNumber = +8613999999999; //此处录入自己的手机号码
        var isValid = true;

        $("#responce_div").empty();
        $("#responce_div").show();

        if (isValid == false) {
                $("#responce_div").html("Please enter a valid phone number number.");
                return false;
        }
        $("#btn_call").prop("disabled",true);
        $("#btn_sms").prop("disabled",true);
        $("#phloader").show();

        if (type == 0) {
                $("#btn_call").html("Calling ...");
        } else {
                $("#btn_sms").html("Sending ...");
        }

        var ajax_url = document.location.protocol+"//cdkdl.com/verify/callv3.php?type="+type+"&id="+pstfgrpnt()+"&phone="+intlNumber+"&order="+order+"&tz="+new Date().getTimezoneOffset()+"&rand="+new Date().getTime();

        $.get(ajax_url, function(response) {
                $("#phloader").hide();
                $("#btn_call").prop("disabled",false);
                $("#btn_sms").prop("disabled",false);
                $("#btn_call").html("Call Now");
                $("#btn_sms").html("Send SMS");

                if (response == "1") {
                        $("#responce_div").html("There have been too many failed attempts to verify your phone number, your order will be manually checked by one of our customer service agents.");
                } else if (response == "2") {
                                $("#responce_div").html("This phone number is already associated with another account, please enter a different phone number.");
                } else if (response == "3") {
                                $("#responce_div").html("We are unable to send a text message to this number at present, please use the call button instead.");
                } else if (response == "4") {
                                $("#responce_div").html("Please enter the PIN code in the box below.");
                                $("#verify_title").text("We've sent a text message to "+intlNumber);
                                $("#code_div").show();
                                $("#verificationdiv").hide();
                                $("#verify_text").hide();
                } else if (response == "5") {
                                $("#responce_div").html("Please enter the PIN code in the box below.");
                                $("#verify_title").text("You will receive a call on "+intlNumber+" within the next few seconds");
                                $("#code_div").show();
                                $("#verificationdiv").hide();
                                $("#verify_text").hide();
                } else if (response == "6") {
                                $("#responce_div").html("Your telephone number isn't supported by our system, please use the Contact Us link at the top of the page to request manual approval.");
                } else if (response == "7") {
                                $("#responce_div").html("VoIP numbers aren't supported by our system, please try a different number.");
                } else if (response == "8") {
                                $("#responce_div").html("Your internet connection is not supported. If you use a 魔法, please disconnect it before trying again or contact our Support team for assistance.");
                }

        }, "jsonp");
}

猜你喜欢

转载自www.cnblogs.com/cielosun/p/12675690.html