吾爱汇编

 找回密码
 立即注册

QQ登录

绑定QQ避免忘记帐号

查看: 1319|回复: 3

JS语言大佬求助

[复制链接]
w623433018 发表于 2018-8-6 13:21 | 显示全部楼层 |阅读模式

本站严厉禁止求脱求破行为(包含无自我分析直接求思路),如发现此类求助主题请点击“举报”,让我们共同维护优质的学习环境!


88HB
function openFindFaceGif(){
        $(".findFaceGif").show();
}
var requiredMajorVersion = 10;
// Minor version of Flash required
var requiredMinorVersion = 0;
// Minor version of Flash required
var requiredRevision = 0;
function openCamera(){
        // Version check for the Flash Player that has the ability to start Player Product Install (6.0r65)
        var hasProductInstall = DetectFlashVer(6, 0, 65);
        var hasRequestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
        if ( hasProductInstall && !hasRequestedVersion ) {
                var MMPlayerType = (isIE == true) ? "ActiveX" : "PlugIn";
                var MMredirectURL = window.location;
            document.title = document.title.slice(0, 47) + " - Flash Player Installation";
            var MMdoctitle = document.title;
                AC_FL_RunContent(
                        "src", "../../../onLineTakePhoto",
                        "FlashVars", "MMredirectURL="+MMredirectURL+'&MMplayerType='+MMPlayerType+'&MMdoctitle='+MMdoctitle+"",
                        "width", "680",
                        "height", "420",
                        "align", "middle",
                        "id", "onLineTakePhoto",
                        "quality", "high",
                        "bgcolor", "#a6c9e2",
                        "name", "onLineTakePhoto",
                        "allowScriptAccess","sameDomain",
                        "type", "application/x-shockwave-flash" ,
                        "pluginspage", "http://www.adobe.com/go/getflashplayer"
                );
        } else if (hasRequestedVersion) {
                AC_FL_RunContent(
                                "src", "../../../onLineTakePhoto",
                                "width", "680",
                                "height", "420",
                                "align", "middle",
                                "id", "onLineTakePhoto",
                                "quality", "high",
                                "bgcolor", "#a6c9e2",
                                "name", "onLineTakePhoto",
                                "allowScriptAccess","sameDomain",
                                "type", "application/x-shockwave-flash",
                                "pluginspage", "http://www.adobe.com/go/getflashplayer"
                );
          } else {  // flash is too old or we can't detect the plugin
            var alternateContent = 'Alternate HTML content should be placed here. '
                  + 'This content requires the Adobe Flash Player. '
                   + '<a href=http://www.adobe.com/go/getflash/>Get Flash</a>';
            document.write(alternateContent);  // insert non-flash content
          }
        // -->
}


function setValueToField(json){
        if(json!=null){
                var data = JSON.parse(json);
                if(data.status){
                        if(data.newPath != '' && data.newPath != null){
                                $("#cameraPicAdd").val(data.newPath);
                                $("#faceImg-view").html("<img alt='' id='cameraImg' src='"+data.newPath+"' style='width:250px;height:250px;'>");
                        }
                        $("#cameracontent").hide();
                        $(".findFaceGif").hide();
                        if(data.findFace){
                                parent.$.messager.show({title:'提示 ',msg:'识别成功!'});
                        }
                }else if(!data.findFace){
                        $(".findFaceGif").hide();
                        parent.$.messager.confirm('提示', '识别失败,请后重试', function(r){
                                if(!r){
                                        $("#cameracontent").hide();
                                }
                        });
                }
        }
}

小白
求大佬教怎么跳过失败或识别失败也成功 的教程
有写好的最好,可以自己对比那些不一样慢慢研究,感谢感谢

最佳答案

吾爱汇编论坛-学破解,防破解!知进攻,懂防守!逆向分析,软件安全!52HB.COM
xkang 发表于 2018-8-6 13:21 | 显示全部楼层
吾爱汇编论坛-学破解,防破解!知进攻,懂防守!逆向分析,软件安全!52HB.COM
独鲨 发表于 2018-8-6 13:41 | 显示全部楼层

此帖仅作者可见
吾爱汇编论坛-学破解,防破解!知进攻,懂防守!逆向分析,软件安全!52HB.COM
 楼主| w623433018 发表于 2018-8-7 13:13 | 显示全部楼层
吾爱汇编论坛-学破解,防破解!知进攻,懂防守!逆向分析,软件安全!52HB.COM
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

警告:本站严惩灌水回复,尊重自己从尊重他人开始!

1层
2层
3层
4层

免责声明

吾爱汇编(www.52hb.com)所讨论的技术及相关工具仅限用于研究学习,皆在提高软件产品的安全性,严禁用于不良动机。任何个人、团体、组织不得将其用于非法目的,否则,一切后果自行承担。吾爱汇编不承担任何因为技术滥用所产生的连带责任。吾爱汇编内容源于网络,版权争议与本站无关。您必须在下载后的24个小时之内,从您的电脑中彻底删除。如有侵权请邮件或微信与我们联系处理。

站长邮箱:SharkHeng@sina.com
站长QQ:1140549900


QQ|RSS|手机版|小黑屋|帮助|吾爱汇编 ( 京公网安备11011502005403号 , 京ICP备20003498号-6 )|网站地图

Powered by Discuz!

吾爱汇编 www.52hb.com

快速回复 返回顶部 返回列表