PageSourceSearch

https://prioritybooker.com/cookie/app.js

js prioritybooker.com collected 2026-10-09 02:02:36 UTC 12,702 bytes, 177 lines download raw bytes

1// obtain cookieconsent plugin
2var cc = initCookieConsent();
3
4// microsoft logo
5/* var logo = '<svg style="width: 110px; height: 30px; display: block;" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 337.6 72"><path fill="#737373" d="M140.4 14.4v43.2h-7.5V23.7h-.1l-13.4 33.9h-5l-13.7-33.9h-.1v33.9h-6.9V14.4h10.8l12.4 32h.2l13.1-32h10.2zm6.2 3.3c0-1.2.4-2.2 1.3-3 .9-.8 1.9-1.2 3.1-1.2 1.3 0 2.4.4 3.2 1.2s1.3 1.8 1.3 3-.4 2.2-1.3 3c-.9.8-1.9 1.2-3.2 1.2s-2.3-.4-3.1-1.2c-.8-.9-1.3-1.9-1.3-3zm8.1 8.9v31h-7.3v-31h7.3zm22.1 25.7c1.1 0 2.3-.2 3.6-.8 1.3-.5 2.5-1.2 3.6-2v6.8c-1.2.7-2.5 1.2-4 1.5-1.5.3-3.1.5-4.9.5-4.6 0-8.3-1.4-11.1-4.3-2.9-2.9-4.3-6.6-4.3-11 0-5 1.5-9.1 4.4-12.3 2.9-3.2 7-4.8 12.4-4.8 1.4 0 2.8.2 4.1.5 1.4.3 2.5.8 3.3 1.2v7c-1.1-.8-2.3-1.5-3.4-1.9-1.2-.4-2.4-.7-3.6-.7-2.9 0-5.2.9-7 2.8s-2.6 4.4-2.6 7.6c0 3.1.9 5.6 2.6 7.3 1.7 1.7 4 2.6 6.9 2.6zm27.9-26.2a8.08 8.08 0 0 1 2.8.4v7.4c-.4-.3-.9-.6-1.7-.8s-1.6-.4-2.7-.4c-1.8 0-3.3.8-4.5 2.3s-1.9 3.8-1.9 7v15.6h-7.3v-31h7.3v4.9h.1c.7-1.7 1.7-3 3-4 1.4-.9 3-1.4 4.9-1.4zm3.2 16.5c0-5.1 1.5-9.2 4.3-12.2 2.9-3 6.9-4.5 12-4.5 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-.8 6.1-2.6 1.4-1.7 2.1-4.2 2.1-7.6 0-3.3-.7-5.8-2.1-7.6-1.4-1.7-3.5-2.6-6-2.6-2.7 0-4.7.9-6.2 2.7-1.6 1.9-2.4 4.4-2.4 7.7zm48.4-9.7H312v25h-7.4v-25h-5.2v-6h5.2v-4.3c0-3.2 1.1-5.9 3.2-8s4.8-3.1 8.1-3.1c.9 0 1.7.1 2.4.1s1.3.2 1.8.4V18c-.2-.1-.7-.3-1.3-.5-.6-.2-1.3-.3-2.1-.3-1.5 0-2.7.5-3.5 1.4-.8.9-1.2 2.4-1.2 4.2v3.7h10.9v-7l7.3-2.2v9.2h7.4v6h-7.4V47c0 1.9.4 3.2 1 4 .7.8 1.8 1.2 3.3 1.2.4 0 .9-.1 1.5-.3.6-.2 1.1-.4 1.5-.7v6c-.5.3-1.2.5-2.3.7-1.1.2-2.1.3-3.2.3-3.1 0-5.4-.8-6.9-2.4-1.5-1.6-2.3-4.1-2.3-7.4l.1-15.8z"/><path fill="#f25022" d="M0 0h34.2v34.2H0z"/><path fill="#7fba00" d="M37.8 0H72v34.2H37.8z"/><path fill="#00a4ef" d="M0 37.8h34.2V72H0z"/><path fill="#ffb900" d="M37.8 37.8H72V72H37.8z"/></svg>'; */
6var cookie = '🍪';
7var logo = '<img src="https://prioritybooker.com/img/PriorityBooker-logo.png" style="width: 110px; height: auto; display: block;" alt="Priority Booker">';
8
9// run plugin with config object
10cc.run({
11    current_lang : 'en',
12    autoclear_cookies : true,                   // default: false
13    theme_css: '/cookie/cookieconsent.css',
14    cookie_name: 'cc_cookie_demo1',             // default: 'cc_cookie'
15    cookie_expiration : 365,                    // default: 182
16    page_scripts: true,                         // default: false
17
18    // auto_language: null,                     // default: null; could also be 'browser' or 'document'
19    // autorun: true,                           // default: true
20    // delay: 0,                                // default: 0
21    // force_consent: false,
22    // hide_from_bots: false,                   // default: false
23    // remove_cookie_tables: false              // default: false
24    // cookie_domain: location.hostname,        // default: current domain
25    // cookie_path: "/",                        // default: root
26    // cookie_same_site: "Lax",
27    // use_rfc_cookie: false,                   // default: false
28    // revision: 0,                             // default: 0
29
30    gui_options: {
31        consent_modal: {
32            layout: 'box',                      // box,cloud,bar
33            position: 'bottom right',           // bottom,middle,top + left,right,center
34            transition: 'slide'                 // zoom,slide
35        },
36        settings_modal: {
37            layout: 'box',                      // box,bar
38            // position: 'left',                // right,left (available only if bar layout selected)
39            transition: 'slide'                 // zoom,slide
40        }
41    },
42
43    onAccept: function (cookie) {
44        console.log('onAccept fired ...');
45
46        // delete line below
47        typeof doDemoThings === 'function' && doDemoThings(cookie);
48    },
49
50    onChange: function (cookie, changed_preferences) {
51        console.log('onChange fired ...');
52
53        // If analytics category's status was changed ...
54        if (changed_preferences.indexOf('analytics') > -1) {
55
56            // If analytics category is disabled ...
57            if (!cc.allowedCategory('analytics')) {
58
59                // Disable gtag ...
60                console.log('disabling gtag')
61                window.dataLayer = window.dataLayer || [];
62
63                function gtag() { dataLayer.push(arguments); }
64
65                gtag('consent', 'default', {
66                    'ad_storage': 'denied',
67                    'analytics_storage': 'denied'
68                });
69            }
70        }
71
72        // delete line below
73        typeof doDemoThings === 'function' && doDemoThings(cookie);
74    },
75
76    languages: {
77        'en': {
78            consent_modal: {
79                title: 'Cookie usage',
80                description: 'The Priority Booker website uses cookies to ensure its proper operation and ads personalisation. <button type="button" data-cc="c-settings" class="cc-link">Let me choose cookies >> </button>',
81                primary_btn: {
82                    text: 'Accept all',
83                    role: 'accept_all'              // 'accept_selected' or 'accept_all'
84                },
85                secondary_btn: {
86                    text: 'Reject all',
87                    role: 'accept_necessary'        // 'settings' or 'accept_necessary'
88                }
89            },
90            settings_modal: {
91                title: logo,
92                save_settings_btn: 'Save settings',
93                accept_all_btn: 'Accept all',
94                reject_all_btn: 'Reject all',
95                close_btn_label: 'Close',
96                cookie_table_headers: [
97                    {col1: 'Name'},
98                    {col2: 'Domain'},
99                    {col3: 'Expiration'},
100                    {col4: 'Description'}
101                ],
102                blocks: [
103                    {
104                        title: 'Cookie usage',
105                        description: 'Priority Booker uses cookies to ensure you get the best from your booking experience and for the personalisation of ads. You can choose to opt-in/out of each category whenever you want. For more details relative to cookies and other sensitive data, please read the full <a href="/cookies" class="cc-link">cookie policy</a> and our <a href="/privacy-policy" class="cc-link">privacy policy</a>'
106                    }, {
107                        title: 'Strictly necessary cookies',
108                        description: 'These cookies are essential for the proper functioning of my website. Without these cookies, the website would not work properly',
109                        toggle: {
110                            value: 'necessary',
111                            enabled: true,
112                            readonly: true          // cookie categories with readonly=true are all treated as "necessary cookies"
113                        },
114                        cookie_table: [
115                            {
116                                col1: 'XSRF-TOKEN',
117                                col2: 'prioritybooker.com',
118                                col3: '1 hour',
119                                col4: 'This cookie is written to help with site security in preventing Cross-Site Request Forgery attacks',
120                            },
121                            {
122                                col1: 'prioritybooker_session',
123                                col2: 'prioritybooker.com',
124                                col3: '1 hour',
125                                col4: 'This is used to hold information about your current visit with us. This cookie is essential to the security and functionality of the website.',
126                            },
127                            {
128                                col1: 'referer',
129                                col2: 'prioritybooker.com',
130                                col3: '1 day',
131                                col4: ' This is used to hold information about your current visit with us. This cookie is essential to the security and functionality of the website.',
132                            }
133                        ]
134                    }, {
135                        title: 'Performance and Analytics cookies',
136                        description: 'These cookies collect information about how you use the website, which pages you visited and which links you clicked on. All of the data is anonymized and cannot be used to identify you.  Please read Google’s <a href="https://policies.google.com/technologies/partner-sites" target="_blank">Privacy & Terms</a> to find out how Google will use your data.',
137                        toggle: {
138                            value: 'analytics',     // there are no default categories => you specify them
139                            enabled: true,
140                            readonly: false
141                        },
142                        cookie_table: [
143                            {
144                                col1: '^_ga',
145                                col2: 'prioritybooker.com',
146                                col3: '2 years',
147                                col4: 'These are used to collect information about how visitors use a website, without personally identifying individual visitors. Information is used to help improve the usability and effectiveness of a site. They provide information including the number of visitors to the site, the number of unique users across browsing sessions, and information on where visitors have come from and the pages they have visited.',
148                                is_regex: true
149                            },
150                            {
151                                col1: '_gid',
152                                col2: 'prioritybooker.com',
153                                col3: '1 day',
154                                col4: 'These are used to collect information about how visitors use a website, without personally identifying individual visitors. Information is used to help improve the usability and effectiveness of a site. They provide information including the number of visitors to the site, the number of unique users across browsing sessions, and information on where visitors have come from and the pages they have visited.',
155                            },
156                            {
157                                col1: '_gcl_au',
158                                col2: 'prioritybooker.com',
159                                col3: '3 Months',
160                                col4: 'These are used to collect information about how visitors use a website, without personally identifying individual visitors. Information is used to help improve the usability and effectiveness of a site. They provide information including the number of visitors to the site, the number of unique users across browsing sessions, and information on where visitors have come from and the pages they have visited.',
161                            },
162                            {
163                                col1: '_hjAbsoluteSessionInProgress',
164                                col2: 'prioritybooker.com',
165                                col3: '1 day',
166                                col4: 'Hotjar is a product insights tool that gives an understanding of user behaviour on a website that analytics tools cant track.',
167                            }
168                        ]
169                    },  {
170                        title: 'More information',
171                        description: 'For any queries in relation to the cookie policy and your choices please <a class="cc-link" href="/contact">contact us</a>.',
172                    }
173                ]
174            }
175        }
176    }
177});

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.