PageSourceSearch

https://rexus.ua/media/com_rsform/js/recaptchav2.js

js rexus.ua collected 2026-10-06 17:25:23 UTC 1,639 bytes, 60 lines download raw bytes

1var RSFormProReCAPTCHAv2 = {
2	forms: {},
3	loaders: [],
4	onLoad: function() {
5		window.setTimeout(function(){
6			for (var i = 0; i < RSFormProReCAPTCHAv2.loaders.length; i++) {
7				var func = RSFormProReCAPTCHAv2.loaders[i];
8				if (typeof func == "function") {
9					try {
10						func();
11					} catch (err) {
12						if (console && typeof console.log == 'function') {
13							console.log(err);
14						}
15					}
16				}
17			}
18		}, 500);
19	}
20};
21
22if (typeof jQuery !== 'undefined') {
23	jQuery(document).ready(function($) {
24		$(window).on ? $(window).on('load', RSFormProReCAPTCHAv2.onLoad) : $(window).load(RSFormProReCAPTCHAv2.onLoad);
25	});
26} else if (typeof MooTools !== 'undefined') {
27	window.addEvent('domready', function(){
28		 window.addEvent('load', RSFormProReCAPTCHAv2.onLoad);
29	});
30} else {
31	RSFormProUtils.addEvent(window, 'load', function() {
32		RSFormProReCAPTCHAv2.onLoad();
33	});
34}
35
36function ajaxValidationRecaptchaV2(task, formId, data, componentId)
37{
38	switch (task)
39	{
40		case 'beforeSend':
41			if (data.params.indexOf('g-recaptcha-response=&') > -1 && data.params.indexOf('&page=') == -1)
42			{
43				RSFormPro.Ajax.Wait = true;
44				
45				window['RSFormProInvisibleCallback' + formId] = function(token)
46				{
47					RSFormPro.Ajax.Params = RSFormPro.Ajax.Params.replace('g-recaptcha-response=&', 'g-recaptcha-response=' + encodeURIComponent(token) + '&');
48					RSFormPro.Ajax.Wait = false;
49					RSFormPro.Ajax.xmlHttp.send(RSFormPro.Ajax.Params);
50				};
51				
52				grecaptcha.execute(RSFormProReCAPTCHAv2.forms[formId]);
53			}
54			else
55			{
56				RSFormPro.Ajax.Wait = false;
57			}
58		break;
59	}
60}

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.