PageSourceSearch

https://forms.landrover.de/jlrops/resources/cookie.js

js landrover.de collected 2026-09-30 17:19:37 UTC 1,756 bytes, 48 lines download raw bytes

1// GET VALUES FROM THE COOKIE AND SET TO THE FIELDS
2COOKIEInit = function()  {
3
4	maestro.DynamicData.call("Get Maestro Cookie Fluent", {}, null, null, 1)
5		.then(function(cookieMap){
6            maestro.Form.data.$cookieFields = cookieMap.cookieFields
7			//cookieMap = '{"personalDetailsEmailAddress":"[email protected]","personalDetailsFirstName":"asd","personalDetailsLastName":"qwe","personalDetailsMobileNumber":"0723423423","personalDetailsVehicleUseType":"Personal"}'
8            if(cookieMap){
9                for (var key in maestro.Form.data ){
10                    if (maestro.Form.data.$cookieFields.indexOf(key) > -1){
11                        var value = cookieMap[key];
12                        if (value){
13                            maestro.Form.data[key] = value;
14                            //maestro.$rootScope.$apply()
15                        }
16                    }
17                }
18            }
19		});
20    
21    setTimeout(function() {
22        $('#ot-sdk-btn').attr('type', 'button');
23    }, 1000);  // 1000 milliseconds = 1 second
24}
25
26// STORE VALUES FROM CERTAIN FIELDS TO THE COOKIE
27
28COOKIEChange = function()  {
29
30	var cookieMap = {};
31
32
33	for ( var i = 0; i < maestro.Form.data.$cookieFields.length; i++ ){
34		var value = maestro.Form.data[maestro.Form.data.$cookieFields[i]];
35		if(value){
36			cookieMap[maestro.Form.data.$cookieFields[i]] = value;
37		}
38	}
39	maestro.Form.data.$cookieMap = cookieMap;
40
41	maestro.DynamicData.call("Set Maestro Cookie Fluent", {"cookieVal":JSON.stringify(cookieMap)}, null, null, 1)
42    //maestro.DynamicData.call("Set Maestro Cookie", {"cookieVal":JSON.stringify(cookieMap)}, null, null, 1)
43    .then(function(cookie){
44    	document.cookie=cookie;
45    
46    });
47
48}

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.