PageSourceSearch

https://www.doctave.com/assets/js/cookieconsent-config.js

js doctave.com collected 2026-09-25 19:10:47 UTC 2,761 bytes, 96 lines download raw bytes

1import "https://cdn.jsdelivr.net/gh/orestbida/[email protected]/dist/cookieconsent.umd.js";
2
3CookieConsent.run({
4  guiOptions: {
5    consentModal: {
6      layout: "box wide",
7      position: "bottom right",
8      equalWeightButtons: true,
9      flipButtons: false,
10    },
11    preferencesModal: {
12      layout: "box",
13      position: "right",
14      equalWeightButtons: true,
15      flipButtons: false,
16    },
17  },
18  categories: {
19    necessary: {
20      readOnly: true,
21    },
22    analytics: {
23      services: {
24        ph: {
25          label: "Posthog",
26          onAccept: () => {
27            setTimeout(function () {
28              posthog.set_config({
29                persistence: "localStorage+cookie",
30              });
31            }, 1);
32          },
33          onReject: () => {
34            posthog.set_config({
35              persistence: "memory",
36            });
37          },
38          cookies: [
39            {
40              name: /^ph_/,
41            },
42          ],
43        },
44      },
45    },
46  },
47  language: {
48    default: "en",
49    translations: {
50      en: {
51        consentModal: {
52          title: "It's cookie time!",
53          description:
54            "We use cookies to understand how users are interacting with our site.",
55          acceptAllBtn: "Accept",
56          acceptNecessaryBtn: "Only necessary",
57          showPreferencesBtn: "Manage preferences",
58          footer:
59            '<a href="/privacy">Privacy Policy</a>\n<a href="/terms">Terms and conditions</a>',
60        },
61        preferencesModal: {
62          title: "Consent Preferences Center",
63          acceptAllBtn: "Accept",
64          acceptNecessaryBtn: "Only necessary cookies",
65          savePreferencesBtn: "Save preferences",
66          closeIconLabel: "Close modal",
67          serviceCounterLabel: "Service|Services",
68          sections: [
69            {
70              title: "Cookie Usage",
71              description:
72                "We use cookies to understand how users are interacting with our site.",
73            },
74            {
75              title:
76                'Strictly Necessary Cookies <span class="pm__badge">Always Enabled</span>',
77              description:
78                "These are cookies that are required for Doctave to function.",
79              linkedCategory: "necessary",
80            },
81            {
82              title: "Analytics Cookies",
83              description: "We use PostHog to understand visitor behavior.",
84              linkedCategory: "analytics",
85            },
86            {
87              title: "More information",
88              description:
89                "For any query in relation to my policy on cookies and your choices, please email [email protected]</a>.",
90            },
91          ],
92        },
93      },
94    },
95  },
96});

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.