INNER CODE UNIT · JavaScript

detect

10miaomiao/bilimiao2 · desktop-app/src/desktopMain/resources/geetest-validator/js/gt.js:275

var detect = function () {
    return window.Geetest || document.getElementById("gt_lib");
};

if (detect()) {
    status.slide = "loaded";
}

window.initGeetest = function (userConfig, callback) {

    var config = new Config(userConfig);

    if (userConfig.https) {
        config.protocol = 'https://';
    } else if (!userConfig.protocol) {
        config.protocol = window.location.protocol + '//';
    }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…