PageSourceSearch

https://snakdd.com/script/check.js

js snakdd.com collected 2026-10-03 20:49:47 UTC 438 bytes, 31 lines download raw bytes

1/**
2 * 校验
3 */
4function validate_required(field,alerttxt)
5{
6with (field)
7  {
8  if (value==null||value=="")
9    {alert(alerttxt);return false}
10  else {return true}
11  }
12}
13
14function validate_equal(field1,field2, alerttxt)
15{
16	var value1, value2;
17	with (field1)
18	{
19		value1 = value;
20	}
21	with (field2)
22	{
23		value2 = value;
24	}
25	if(value1 != value2){
26		alert(alerttxt);
27		return false;
28	}else{
29		return true;
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.