PageSourceSearch

https://www.gardenmediaguild.co.uk/_resources/js/master/functions.v20250731123153.js

js gardenmediaguild.co.uk collected 2026-10-02 11:14:16 UTC 1,476 bytes, 49 lines download raw bytes

1function readCookie(name) {
2    var nameEQ = name + "=";
3    var ca = document.cookie.split(';');
4    for (var i = 0; i < ca.length; i++) {
5        var c = ca[i];
6        while (c.charAt(0) === ' ') c = c.substring(1, c.length);
7        if (c.indexOf(nameEQ) === 0) return c.substring(nameEQ.length, c.length);
8    }
9    return null;
10}
11
12function createCookie(name, value, days) {
13    var expires;
14    if (days) {
15        var date = new Date();
16        date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
17        expires = "; expires=" + date.toGMTString();
18    } else {
19        expires = "";
20    }
21    document.cookie = escape(name) + "=" + escape(value) + expires + "; path=/";
22}
23
24function deobf(name, domain, rot) {
25    return rotate(name, -rot) + "@" + rotate(domain, -rot);
26}
27
28function rotate(message, rot) {
29    var coded = "";
30    for (i = 0; i < message.length; i++) {
31        var ch = message.charCodeAt(i);
32        coded += String.fromCharCode(ch + rot);
33    }
34    return coded;
35}
36
37function getQueryStringElementByName(name, url) {
38    if (!url) url = window.location.href;
39    name = name.replace(/[\[\]]/g, "\\$&");
40    var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"),
41        results = regex.exec(url);
42    if (!results) return null;
43    if (!results[2]) return '';
44    return decodeURIComponent(results[2].replace(/\+/g, " "));
45}
46
47extraJQueryFunctions.push(function ($) {
48    AOS.init();
49});

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.