PageSourceSearch

https://nord-sued.com/wp-content/plugins/simple-download-monitor/js/sdm_g_recaptcha.js?ver=1

js nord-sued.com collected 2026-10-03 23:31:44 UTC 901 bytes, 31 lines download raw bytes

1/**
2 * sdm_reCaptcha
3 * @type {{Object}}
4 */
5var sdm_reCaptcha = function () {
6    var recaptcha = document.getElementsByClassName("g-recaptcha");
7    for (var i = 0; i < recaptcha.length; i++) {
8	grecaptcha.render(recaptcha.item(i), {"sitekey": sdm_recaptcha_opt.site_key});
9    }
10};
11
12/**
13 * for sdm recaptcha v3. This gets called when google reCaptcha cdn is loaded.
14 */
15function sdm_reCaptcha_v3(){
16    grecaptcha.ready(function() {
17        document.dispatchEvent(new CustomEvent('sdm_reCaptcha_v3_ready'));
18    });
19}
20
21document.addEventListener('sdm_reCaptcha_v3_ready', async function (){
22    const token = await grecaptcha.execute(
23        sdm_recaptcha_opt.site_key,
24        { action: 'sdm_download' }
25    );
26
27    const v3recaptchaInputs = document.querySelectorAll('.sdm-g-recaptcha-v3-response');
28    v3recaptchaInputs?.forEach(function(resp_input){
29        resp_input.value = token
30    });
31})

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.