PageSourceSearch

https://my-merchants.com/js/tools.js

js my-merchants.com collected 2026-10-07 03:48:41 UTC 732 bytes, 26 lines download raw bytes

1var AM_TOOLS={
2	cookies:{
3		set:function(name,value,days) {
4			var expires = "";
5			if (days) {
6				var date = new Date();
7				date.setTime(date.getTime() + (days*24*60*60*1000));
8				expires = "; expires=" + date.toUTCString();
9			}
10			document.cookie = name + "=" + (value || "")  + expires + "; path=/";
11		},
12		get:function(name) {
13			var nameEQ = name + "=";
14			var ca = document.cookie.split(';');
15			for(var i=0;i < ca.length;i++) {
16				var c = ca[i];
17				while (c.charAt(0)==' ') c = c.substring(1,c.length);
18				if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
19			}
20			return null;
21		},
22		erase:function(name) {   
23			document.cookie = name+'=; Max-Age=-99999999;';  
24		}
25	}
26}

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.