PageSourceSearch

https://www.bustpn.ch/qsPortal/Captcha/recaptcha.js?v2017-06-29

js bustpn.ch collected 2026-09-24 20:18:22 UTC 754 bytes, 31 lines download raw bytes

1jQuery(document).ready(function(){
2
3	// DTA v436 12.1.2009 prend uniquement le premier Form qui se trouve ĂȘtre le parent du CaptchaControl
4	jQuery('.g-recaptcha').parents('form').submit(function(event){ 
5		
6		captchaAutoValidate = jQuery(this).data('captcha-auto-validate');
7
8		if(typeof(captchaAutoValidate) == 'undefined') {
9			captchaAutoValidate = true;
10		}
11
12		if (captchaAutoValidate){
13			if (jQuery('#g-recaptcha-response').val() == '') {
14
15				if(typeof(qs) != 'undefined'){
16					qs.widget.alert(qs.trad.disp("Please confirm you're not a robot"));
17				}
18				
19				jQuery('#g-recaptcha-response iframe').css({'border': 'solid 2px red'});
20
21				event.preventDefault();
22				return false;
23
24			}
25		}
26
27	});
28		
29});
30
31// CAPTCHA 

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.