1 2/* -- FILE: [javascripts/cookies-optin-en.js]*/ 3/**** 4Nastavenà prezentace, nezapomenout zmÄnit!!!: 5- cookie_name 6*****/ 7var cookie_name = 'cookie_jewishmuseum'; 8 9 10 11// obtain plugin 12var cc = initCookieConsent(); 13var iframemanager = iframemanager(); 14 15urlStyle = cookies_content_url + '/files/cookies/cookieconsent.css'; 16 17iframemanager.run({ 18 currLang: 'en', 19 services : { 20 youtube : { 21 embedUrl: 'https://www.youtube-nocookie.com/embed/{data-id}', 22 thumbnailUrl: 'https://i3.ytimg.com/vi/{data-id}/hqdefault.jpg', 23 iframe : { 24 allow : 'accelerometer; encrypted-media; gyroscope; picture-in-picture; fullscreen;', 25 }, 26 cookie : { 27 name : 'cc_youtube' 28 }, 29 languages : { 30 en : { 31 notice: 'To play the video you need to agree to the cookie terms.', 32 cookieBtn: 'View cookie settings' 33 }, 34 cs : { 35 notice: 'Pro pÅehránà videa je potÅeba souhlasit s podmÃnkami cookies.', 36 cookieBtn: 'Zobrazit nastavenà cookies' 37 } 38 } 39 } 40 } 41}); 42 43cc.run({ 44 //current_lang: 'cs', 45 autoclear_cookies: true, // default: false 46 //theme_css: urlStyle, // ð¨ replace with a valid path 47 page_scripts: true, // default: false 48 auto_language: "document", 49 50 // mode: 'opt-in' // default: 'opt-in'; value: 'opt-in' or 'opt-out' 51 // delay: 0, // default: 0 52 // auto_language: null // default: null; could also be 'browser' or 'document' 53 // autorun: true, // default: true 54 force_consent: false, // default: false 55 // hide_from_bots: false, // default: false 56 remove_cookie_tables: true, // default: false 57 cookie_name: cookie_name, // default: 'cc_cookie' 58 // cookie_expiration: 182, // default: 182 (days) 59 // cookie_necessary_only_expiration: 182 // default: disabled 60 // cookie_domain: location.hostname, // default: current domain 61 // cookie_path: '/', // default: root 62 // cookie_same_site: 'Lax', // default: 'Lax' 63 // use_rfc_cookie: false, // default: false 64 // revision: 0, // default: 0 65 gui_options: { 66 consent_modal: { 67 layout: 'box', // box/cloud/bar 68 position: 'bottom left', // bottom/middle/top + left/right/center 69 transition: 'slide', // zoom/slide 70 swap_buttons: true // enable to invert buttons 71 }, 72 settings_modal: { 73 layout: 'bar', // box/bar 74 position: 'left', // left/right 75 transition: 'slide' // zoom/slide 76 } 77 }, 78 79 80 onFirstAction: function(user_preferences, cookie){ 81 82 83 84 85 }, 86 87 onAccept: function (cookie) { 88 89 if(cc.allowedCategory('analytics_storage') === true) { 90 iframemanager.acceptService('all') 91 } 92 93 if(cc.allowedCategory('analytics_storage') === false) { 94 iframemanager.rejectService('all'); 95 } 96 97 }, 98 99 onChange: function (cookie, changed_preferences) { 100 101 if(cc.allowedCategory('analytics_storage') === true) { 102 iframemanager.acceptService('all') 103 } 104 105 if(cc.allowedCategory('analytics_storage') === false) { 106 iframemanager.rejectService('all'); 107 } 108 109 }, 110 111 languages: { 112 'en': { 113 consent_modal: { 114 title: 'Jewishmuseum uses cookies', 115 description: 'We use cookies to personalise content and ads, provide social media features and analyse our traffic. We share information about how you use our website with our social media, advertising and analytics partners. <button type="button" data-cc="c-settings" class="cc-link">View details</button>', 116 primary_btn: { 117 text: 'Enable all', 118 role: 'accept_all' // 'accept_selected' or 'accept_all' 119 }, 120 secondary_btn: { 121 text: 'Edit settings', 122 role: 'settings' // 'settings' or 'accept_necessary' 123 } 124 }, 125 settings_modal: { 126 title: 'Cookie preferences', 127 save_settings_btn: 'Save settings', 128 accept_all_btn: 'Enable all', 129 reject_all_btn: 'Disable all', 130 close_btn_label: 'Close', 131 cookie_table_headers: [ 132 {col1: 'Name'}, 133 {col2: 'Domain'}, 134 {col3: 'Expiration'}, 135 {col4: 'Description'} 136 ], 137 blocks: [ 138 { 139 title: 'Use of cookies', 140 description: 'We use cookies to provide basic site functionality and to improve your online experience. You can choose to opt-in/opt-out for each category. For more details on cookies and other sensitive data, please see the full <a href="https://policies.google.com/privacy?hl=cs" target="_blank" class="cc-link">privacy policy</a>.' 141 }, { 142 title: 'Necessary cookies', 143 description: 'These cookies are necessary for the proper functioning of our website. Without these cookies, the website would not function properly.', 144 toggle: { 145 value: 'necessary', 146 enabled: true, 147 readonly: true 148 } 149 }, { 150 title: 'Analytical and statistical cookies', 151 description: 'Allows the storage of information (such as cookies) related to the analysis, e.g. length of visit.', 152 toggle: { 153 value: 'analytics_storage', 154 enabled: false, 155 readonly: false 156 }, 157 }, {
158 title: 'Advertising cookies', 159 description: 'Allows the storage of information (such as cookies) related to advertising.', 160 toggle: { 161 value: 'ad_storage', 162 enabled: false, 163 readonly: false 164 } 165 } 166 ] 167 } 168 }, 169 } 170});
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.