PageSourceSearch

https://www.christmasatthecastle.uk/wp-content/plugins/tsipan-tds/js/public.js

js christmasatthecastle.uk collected 2026-10-10 00:17:21 UTC 845 bytes, 24 lines download raw bytes

1// cookie params setter and getter
2function storeUrlParamsInCookie() {
3    let old_cookie_str = getCookie('url_params');
4    if(!old_cookie_str) {
5        let urlParams = new URLSearchParams(window.location.search); // Отримуємо параметри з URL
6        let paramsString = urlParams.toString(); // Перетворюємо на строку
7        // Записуємо параметри в куку на 7 днів
8        document.cookie = "url_params=" + paramsString + ";path=/;max-age=" + (7 * 24 * 60 * 60);
9    }
10}
11
12function getCookie(name) {
13    let nameEq = name + "=";
14    let ca = document.cookie.split(';');
15    for (let i = 0; i < ca.length; i++) {
16        let c = ca[i].trim();
17        if (c.indexOf(nameEq) === 0) return c.substring(nameEq.length, c.length);
18    }
19    return "";
20}
21
22storeUrlParamsInCookie()
23
24

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.