开发者

java check user digital signature verified by javascript

开发者 https://www.devze.com 2023-03-28 03:45 出处:网络
How can I chec开发者_JS百科k if user click yes (trust my application) for my signed Application from javascript ?var check = confirm(\"Do you trust this app?\");

How can I chec开发者_JS百科k if user click yes (trust my application) for my signed Application from javascript ?


var check = confirm("Do you trust this app?");
if (check) { //user clicked ok
    //do whatever
}

If your application is on a website, you could place the <applet> tag within a <div id="app" style="none">. Then you could replace //do whatever with this:

document.body.getElementById("app").style = 'block';
0

精彩评论

暂无评论...
验证码 换一张
取 消