PageSourceSearch

https://www.montpellier-bs-alumni.com/global/javascript/AjaxHelper.class.js?v=20260909_202101288832123

js montpellier-bs-alumni.com collected 2026-09-25 08:33:55 UTC 1,878 bytes, 85 lines download raw bytes

1(function()
2{ 
3	AjaxHelper = 
4		function (options)
5		{
6			this.options = options;
7		};
8		
9	AjaxHelper.prototype = 
10		{
11			options: false,
12			xhr: false,
13	
14			setOptions:
15				function (options)
16				{
17					this.options = options;
18				},
19			
20			option:
21				function (option, value)
22				{
23					if (value != undefined)
24					{
25						eval('this.options.' + option + " = '" + value + "'");
26						return this;
27					}
28
29					return eval('this.options.' + option);
30				},
31				
32			beforeSend:
33				function ()
34				{
35					if (this.xhr != false)
36						this.xhr.abort();
37
38					if (this.options.beforeSend != undefined)
39					{
40						try
41						{
42							this.options.beforeSend();
43						}
44						catch (e)
45						{
46							
47						}
48					}
49				},
50			
51			success:
52				function (data, textStatus, jqXHR)
53				{
54					this.xhr = false;
55					this.options.success(data, textStatus, jqXHR);
56				},
57				
58			send:
59				function (data, cancelPrevious, callback)
60				{
61					if (callback != undefined)
62						this.options.success = callback;
63
64					var options = this.options;
65					var _this = this;
66				
67					_this.xhr = $.ajax(
68									{
69										url: options.url,
70										type: options.type,
71										async: options.async,
72										data: data,
73                                        cache: false,
74                                        contentType: typeof options.contentType != "undefined" ? options.contentType : "application/x-www-form-urlencoded; charset=UTF-8",
75                                        processData: typeof options.processData != "undefined" ? options.contentType : true,
76										dataType: options.dataType,
77										beforeSend: cancelPrevious == undefined || cancelPrevious ? function () { _this.beforeSend(); } : false,
78										success: function (data, textStatus, jqXHR) { _this.success(data, textStatus, jqXHR); }
79									}
80								);
81					
82					return _this;
83				}
84		};
85})();

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.