PageSourceSearch

https://www.radiojeans.net/cust/cc.js

js radiojeans.net collected 2026-09-24 13:14:15 UTC 6,088 bytes, 138 lines download raw bytes

1// obtain cookieconsent plugin
2var cc;
3function initCC(){
4  cc = initCookieConsent();    
5  // run plugin with config object
6cc.run({
7    current_lang: 'it',
8    autoclear_cookies: true,                    // default: false
9   //theme_css: '../src/cookieconsent.css',
10    //cookie_name: 'cc_cookie_demo2',             // default: 'cc_cookie'
11    cookie_expiration: 365,                     // default: 182
12    page_scripts: true,                         // default: false
13    force_consent: true,                        // default: false
14
15    // auto_language: null,                     // default: null; could also be 'browser' or 'document'
16    // autorun: true,                           // default: true
17    // delay: 0,                                // default: 0
18    // hide_from_bots: false,                   // default: false
19    // remove_cookie_tables: false              // default: false
20    // cookie_domain: location.hostname,        // default: current domain
21    // cookie_path: '/',                        // default: root
22    // cookie_same_site: 'Lax',
23    // use_rfc_cookie: false,                   // default: false
24    // revision: 0,                             // default: 0
25
26    gui_options: {
27        consent_modal: {
28            layout: 'box',                    // box,cloud,bar
29            position: 'middle center',          // bottom,middle,top + left,right,center
30            transition: 'slide'                 // zoom,slide
31        },
32        settings_modal: {
33            layout: 'box',                      // box,bar
34            position: 'left',                   // right,left (available only if bar layout selected)
35            transition: 'slide'                 // zoom,slide
36        }
37    },
38
39    /* End new options added in v2.4 */
40
41    onAccept: function (cookie) {
42
43    },
44
45    onChange: function (cookie, changed_preferences) {
46        console.log('onChange fired ...');
47
48        // If analytics category's status was changed ...
49        if (changed_preferences.indexOf('analytics') > -1) {
50
51            // If analytics category is disabled ...
52            if (!cc.allowedCategory('analytics')) {
53
54                // Disable gtag ...
55                console.log('disabling gtag')
56                window.dataLayer = window.dataLayer || [];
57
58                function gtag() {
59                    dataLayer.push(arguments);
60                }
61
62                gtag('consent', 'default', {
63                    'ad_storage': 'denied',
64                    'analytics_storage': 'denied'
65                });
66            }
67        }
68    },
69
70    languages: {
71        'en': {
72            consent_modal: {
73                title: 'Abbiamo a cuore la tua privacy',
74                description: 'Il nostro sito web utilizza i cookie essenziali per garantire il suo corretto funzionamento e cookie di tracciamento per capire come interagisci con esso. Questi ultimi saranno attivati solo dopo che avrai fornito il tuo consenso. <a href="/privacy" class="cc-link" target="_blank">Informativa sulla privacy</a>',
75                primary_btn: {
76                    text: 'Accetta tutti',
77                    role: 'accept_all'      //'accept_selected' or 'accept_all'
78                },
79                secondary_btn: {
80                    text: 'Modifica preferenze',
81                    role: 'settings'       //'settings' or 'accept_necessary'
82                },
83                revision_message: '<br><br> Gentile utente, i termini e le condizioni sono variati dalla tua ultima visita al sito!'
84            },
85            settings_modal: {
86                title: 'Impostazioni sui cookie',
87                save_settings_btn: 'Salva le impostazioni correnti',
88                accept_all_btn: 'Accetta tutti',
89                reject_all_btn: 'Rifiuta tutti',
90                close_btn_label: 'Chiudi',
91                cookie_table_headers: [
92                    {col1: 'Nome'},
93                    {col2: 'Dominio'},
94                    {col3: 'Scadenza'}
95                ],
96                blocks: [
97                    {
98                        title: 'Come utilizziamo i cookie',
99                        description: "Leggi l'<a href=\"/privacy\" class=\"cc-link\" target=\"_blank\">Informativa sulla privacy</a>."
100                    }, {
101                        title: 'Cookie strettamente necessari',
102                        description: "I cookie necessari aiutano a rendere fruibile un sito web abilitando funzioni di base come la navigazione della pagina e l'accesso alle aree protette del sito web. Il sito web non può funzionare correttamente senza questi cookie.",
103                        toggle: {
104                            value: 'necessary',
105                            enabled: true,
106                            readonly: true  //cookie categories with readonly=true are all treated as "necessary cookies"
107                        }
108                    }, {
109                        title: 'Cookie statistici',
110                        description: "I cookie statistici aiutano i proprietari di siti web a capire come i visitatori interagiscono con i siti raccogliendo e riportando informazioni in forma anonima.",
111                        toggle: {
112                            value: 'analytics',
113                            enabled: false,
114                            readonly: false
115                        },
116                    } 
117                 /*  ,{
118                        title: 'Targeting e Pubblicità',
119                        description: "Questo Sito Web utilizza Strumenti di Tracciamento per fornire contenuti commerciali personalizzati in base al comportamento dell'Utente e per gestire, diffondere e tracciare annunci pubblicitari.",
120                        toggle: {
121                            value: 'targeting',
122                            enabled: false,
123                            readonly: false,
124                            reload: 'on_disable'            // New option in v2.4, check readme.md
125                        },
126                    }, */
127
128                ]
129            }
130        }
131    }
132  });
133};
134
135
136
137
138

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.