PageSourceSearch

https://www.stromroku.cz/app_themes/common/web-components/popup/getCookie.js

js stromroku.cz collected 2026-10-02 10:30:27 UTC 379 bytes, 15 lines download raw bytes

1export default (cname) => {
2  var name = cname + "=";
3  var decodedCookie = decodeURIComponent(document.cookie);
4  var ca = decodedCookie.split(';');
5  for (var i = 0; i < ca.length; i++) {
6    var c = ca[i];
7    while (c.charAt(0) == ' ') {
8      c = c.substring(1);
9    }
10    if (c.indexOf(name) == 0) {
11      return c.substring(name.length, c.length);
12    }
13  }
14  return "";
15}

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.