PageSourceSearch

https://www.dhcare.co.uk/themes/custom/invacare/js/invAnalyticsDis.js?v=1.x

js dhcare.co.uk collected 2026-10-09 17:39:10 UTC 798 bytes, 22 lines download raw bytes

1////Plain JS function to get cookie value exist else return null
2//function getCookie(cname) {
3//  let name = cname + "=";
4//  let decodedCookie = decodeURIComponent(document.cookie);
5//  let ca = decodedCookie.split(';');
6//  for(let i = 0; i < ca.length; i++) {
7//    let c = ca[i];
8//    while (c.charAt(0) == ' ') {
9//      c = c.substring(1);
10//    }
11//    if (c.indexOf(name) == 0) {
12//      return c.substring(name.length, c.length);
13//    }
14//  }
15//  return null;
16//}
17//
18////Check the cookie conset is accepted else stoping the GA.
19//if(getCookie('cookie-agreed') == null || getCookie('cookie-agreed') == '0') {
20//	//To get the dynamic GA account ID from Drupal Settings drupalSettings.google_analytics.account.
21//	window['ga-disable-' + drupalSettings.google_analytics.account] = true;
22//}

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.