PageSourceSearch

https://www.historytoday.com/modules/contrib/recaptcha/js/recaptcha.js?tlv09c

js historytoday.com collected 2026-09-24 08:41:17 UTC 944 bytes, 36 lines download raw bytes

1/**
2 * @file
3 * Contains the definition of the behaviour recaptcha.
4 */
5
6(function ($, Drupal) {
7  Drupal.behaviors.recaptcha = {
8    attach(context) {
9      $('.g-recaptcha', context).each(function () {
10        if (
11          typeof grecaptcha === 'undefined' ||
12          typeof grecaptcha.render !== 'function'
13        ) {
14          return;
15        }
16        if ($(this).closest('body').length > 0) {
17          if ($(this).hasClass('recaptcha-processed')) {
18            grecaptcha.reset();
19          } else {
20            grecaptcha.render(this, $(this).data());
21            $(this).addClass('recaptcha-processed');
22          }
23        }
24      });
25    },
26  };
27
28  window.drupalRecaptchaOnload = function () {
29    $('.g-recaptcha').each(function () {
30      if (!$(this).hasClass('recaptcha-processed')) {
31        grecaptcha.render(this, $(this).data());
32        $(this).addClass('recaptcha-processed');
33      }
34    });
35  };
36})(jQuery, Drupal);

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.