PageSourceSearch

https://dsa1.info/wp-content/plugins/geotargeting/public/js/geotarget-public.js

js dsa1.info collected 2026-10-08 14:05:21 UTC 957 bytes, 39 lines download raw bytes

1(function( $ ) {
2	'use strict';
3
4
5	  $(document).ready(function() {
6		  $('#geot_dropdown').ddslick({
7			    onSelected: function(data){
8			    	var country_code = data.selectedData.value;
9			        GeotCreateCookie('geot_country', country_code,999);
10			        window.location.reload();
11			    }   
12			});
13	  });
14	 
15
16/**
17 * Cookie functions
18 */
19function GeotCreateCookie(name, value, days) {
20	if (days) {
21		var date = new Date();
22		date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
23		var expires = "; expires=" + date.toGMTString();
24	} else var expires = "";
25	document.cookie = name + "=" + value + expires + "; path=/";
26}
27
28function GeotReadCookie(name) {
29	var nameEQ = name + "=";
30	var ca = document.cookie.split(';');
31	for (var i = 0; i < ca.length; i++) {
32		var c = ca[i];
33		while (c.charAt(0) == ' ') c = c.substring(1, c.length);
34		if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);
35	}
36	return null;
37}
38
39})( jQuery );

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.