bd28d9c50206f42e8e55c459d3fc3a2bfb43b17c
[DeezloaderRemix.git] / app / public / html / captcha.html
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4     <meta charset="UTF-8">
5     <title>captcha</title>
6 </head>
7 <body>
8     <form id="modal_captcha_form" action="/submit" method="get">
9         <div class="g-recaptcha" data-sitekey="6Lf4g34UAAAAAF2O2sScZKutelN7GM1FYVBmMom4" data-callback="onCaptchaSolved"></div>
10         <script type="text/javascript" src="https://www.google.com/recaptcha/api.js"></script>
11     </form>
12     <!-- the following src ends in cap://deezer.com/js/jquery-3.3.1.min.js -->
13     <!--<script type="text/javascript" src="./../js/jquery-3.3.1.min.js"></script>-->
14     <!-- therefore we use the http protocol, possible fix: https://github.com/electron/electron/issues/4506#issuecomment-299645031 -->
15     <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
16     <script>
17         function onCaptchaSolved() {
18             $.get("/submit", $("#modal_captcha_form").serialize());
19             window.close()
20         }
21     </script>
22 </body>
23 </html>