PageSourceSearch

https://parnas.cx/cookieconsent-config.js

js parnas.cx collected 2026-10-06 08:48:14 UTC 3,354 bytes, 71 lines download raw bytes

1import 'https://cdn.jsdelivr.net/gh/orestbida/[email protected]/dist/cookieconsent.umd.js';
2
3// Enable dark mode
4document.documentElement.classList.add('cc--darkmode');
5
6CookieConsent.run({
7    guiOptions: {
8        consentModal: {
9            layout: "box",
10            position: "bottom left",
11            equalWeightButtons: true,
12            flipButtons: false
13        },
14        preferencesModal: {
15            layout: "box",
16            position: "right",
17            equalWeightButtons: true,
18            flipButtons: false
19        }
20    },
21    categories: {
22        necessary: {
23            readOnly: true
24        },
25        analytics: {}
26    },
27    language: {
28        default: "en",
29        autoDetect: "browser",
30        translations: {
31            en: {
32                consentModal: {
33                    title: "Cookies & Privacy",
34                    description: "We use cookies to improve your browsing experience, personalize content, and analyze our traffic. By clicking ‘Accept all’, you agree to our use of cookies. You can manage your preferences or opt-out by visiting our Cookie Settings at any time. For more information, please see our Privacy Policy.",
35                    acceptAllBtn: "Accept all",
36                    acceptNecessaryBtn: "Reject all",
37                    showPreferencesBtn: "Manage preferences",
38                    footer: "<a href=\"https://pythia.cc/privacy\" target=\"_blank\">Privacy Policy</a>\n<a href=\"https://pythia.cc/tos\" target=\"_blank\">Terms and conditions</a>"
39                },
40                preferencesModal: {
41                    title: "Consent Preferences Center",
42                    acceptAllBtn: "Accept all",
43                    acceptNecessaryBtn: "Reject all",
44                    savePreferencesBtn: "Save preferences",
45                    closeIconLabel: "Close modal",
46                    serviceCounterLabel: "Service|Services",
47                    sections: [
48                        {
49                            title: "Cookie Usage",
50                            description: "Choose which types of cookies you're comfortable with. Strictly necessary cookies are essential for the website to function and cannot be disabled. You can enable or disable other types based on your preferences"
51                        },
52                        {
53                            title: "Strictly Necessary Cookies <span class=\"pm__badge\">Always Enabled</span>",
54                            description: "Required for core functionality, such as security and accessibility.",
55                            linkedCategory: "necessary"
56                        },
57                        {
58                            title: "Analytics Cookies",
59                            description: "These cookies help us understand how visitors interact with our website by collecting and reporting information anonymously.",
60                            linkedCategory: "analytics"
61                        },
62                        {
63                            title: "More information",
64                            description: "For any query in relation to my policy on cookies and your choices, please <a class=\"mailto:[email protected]\" href=\"#yourdomain.com\">contact us</a>."
65                        }
66                    ]
67                }
68            }
69        }
70    }
71});

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.