PageSourceSearch

https://www.happyhair.cz/js/script.js

js happyhair.cz collected 2026-10-05 06:49:13 UTC 1,256 bytes, 84 lines download raw bytes

1 $(document).ready(function(){
2	
3	$('#regForm').submit(function(e) {
4
5		register();
6		e.preventDefault();
7		
8	});
9	$('#regForm2').submit(function(e) {
10
11		register2();
12		e.preventDefault();
13		
14	});
15	
16});
17
18
19function register()
20{
21	hideshow('loading',1);
22	error(0);
23	
24	$.ajax({
25		type: "POST",
26		url: "flash/submit.php",
27		data: $('#regForm').serialize(),
28		dataType: "json",
29		success: function(msg){
30			
31			if(parseInt(msg.status)==1)
32			{
33				window.location=msg.txt;
34			}
35			else if(parseInt(msg.status)==0)
36			{
37				error(1,msg.txt);
38			}
39			
40			hideshow('loading',0);
41		}
42	});
43
44}
45
46function register2()
47{
48	hideshow('loading',1);
49	error(0);
50	
51	$.ajax({
52		type: "POST",
53		url: "flash/submitnew.php",
54		data: $('#regForm2').serialize(),
55		dataType: "json",
56		success: function(msg){
57			
58			if(parseInt(msg.status)==1)
59			{
60				window.location=msg.txt;
61			}
62			else if(parseInt(msg.status)==0)
63			{
64				error(1,msg.txt);
65			}
66			
67			hideshow('loading',0);
68		}
69	});
70
71}
72
73
74function hideshow(el,act)
75{
76	if(act) $('#'+el).css('visibility','visible');
77	else $('#'+el).css('visibility','hidden');
78}
79
80function error(act,txt)
81{
82	hideshow('error',act);
83	if(txt) $('#error').html(txt);
84}

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.