1 2var orejimeConfig = { 3 // Optional. You can customize the ID of the <div> that Orejime will create when starting up. 4 // The generated <div> will be inserted at the beginning of the <body>. 5 // If there is already a DOM element with this id, Orejime will use it instead of creating a new element. 6 // defaults to "orejime". 7 // elementID: "orejime", 8 9 // Optional. For accessibility's sake, the Orejime modal must know what is the element 10 // containing your app or website. Orejime should *not* be in this element. 11 // The idea is your DOM could look like this after Orejime is initialized: 12 // <body> 13 // <div id="orejime">...</div> 14 // <div id="app">your actual website</div> 15 // </body> 16 // 17 // It is highly recommended to set this option, even though it's not required. 18 // defaults to undefined. 19 // appElement: "#app", 20 21 // Optional. You can customize the name of the cookie that Orejime uses for storing 22 // user consent decisions. 23 // defaults to "orejime". 24 // cookieName: "orejime", 25 26 // Optional. You can set a custom expiration time for the Orejime cookie, in days. 27 // defaults to 365. 28 // cookieExpiresAfterDays: 365, 29 30 // Optional. You can provide a custom domain for the Orejime cookie, for example to make it available on every associated subdomains. 31 // cookieDomain: 'mydomain.com', 32 33 // Optional. You can provide a custom function to serialize the cookie contents. 34 // stringifyCookie: (contents) => JSON.stringify(contents), 35 36 // Optional. You can provide a custom function to unserialize the cookie contents. 37 // parseCookie: (cookie) => JSON.parse(cookie), 38 39 // You must provide a link to your privacy policy page 40 privacyPolicy: "/datenschutz/", 41 42 // Optional. Applications configured below will be ON by default if default=true. 43 // defaults to true 44 default: false, 45 46 // Optional. If "mustConsent" is set to true, Orejime will directly display the consent 47 // manager modal and not allow the user to close it before having actively 48 // consented or declined the use of third-party apps. 49 // defaults to false 50 mustConsent: false, 51 52 // Optional. If "mustNotice" is set to true, Orejime will display the consent 53 // notice and not allow the user to close it before having actively 54 // consented or declined the use of third-party apps. 55 // Has no effect if mustConsent is set to true. 56 // defaults to false 57 mustNotice: false, 58 59 // Optional. You can define the UI language directly here. If undefined, Orejime will 60 // use the value given in the global "lang" variable, or fallback to the value 61 // in the <html> lang attribute, or fallback to "en". 62 lang: "de", 63 64 // Optional. You can pass an image url to show in the notice. 65 // If the image is not exclusively decorative, you can pass an object 66 // with the image src and alt attributes: `logo: {src: '...', alt: '...'}` 67 // defaults to false 68 logo: { 69 src: '/assets/Images/logo.svg', 70 alt: 'Präsenzstellen der Hochschulen des Landes Brandenburg' 71 }, 72 73 // Optional. Set Orejime in debug mode to have a few stuff 74 // logged in the console, like warning about missing translations. 75 // defaults to false 76 debug: false, 77 78 // You can overwrite existing translations and add translations for your 79 // app descriptions and purposes. See `src/translations.yml` for a full 80 // list of translations that can be overwritten 81 translations: { 82 en: { 83 consentModal: { 84 description: "This is an example of how to override an existing translation already used by Orejime", 85 }, 86 inlineTracker: { 87 description: "Example of an inline tracking script", 88 }, 89 externalTracker: { 90 description: "Example of an external tracking script", 91 }, 92 purposes: { 93 analytics: "Analytics", 94 security: "Security" 95 }, 96 categories: { 97 analytics: { 98 description: "A long form description of the category." 99 } 100 } 101 }, 102 de: { 103 "consentModal": { 104 "title": "Datenschutzeinstellungen\n", 105 "description": "Sie können nachfolgend Ihre Datenschutzeinstellungen festlegen. \n", 106 "privacyPolicy": { 107 "name": "Datenschutzerklärung", 108 "text": "Detaillierte Informationen und wie Sie Ihre Einwilligung jederzeit widerrufen können, finden Sie in unserer {privacyPolicy}.\n" 109 } 110 }, 111 "consentNotice": { 112 "title": "", 113 "changeDescription": "Es gab Ãnderungen seit Ihrem letzten Be
113such, bitte aktualisieren Sie Ihre Auswahl.", 114 "description": "Wir verwenden Cookies, um Inhalte und Anzeigen zu personalisieren, Funktionen fuÌr soziale Medien anbieten zu koÌnnen und die Zugriffe auf unserer Website zu analysieren. AuÃerdem geben wir Informationen zu Ihrer Verwendung unserer Website an unsere Partner fuÌr soziale Medien, Werbung und Analysen weiter. Unsere Partner fuÌhren diese Informationen moÌglicherweise mit weiteren Daten zusammen, die Sie ihnen bereitgestellt haben oder die sie im Rahmen Ihrer Nutzung der Dienste gesammelt haben.\n", 115 "learnMore": "Einstellungen bearbeiten", 116 "privacyPolicy": { 117 "name": "Datenschutzerklärung", 118 "text": "Weitere Informationen finden Sie in der {privacyPolicy}.\n" 119 } 120 }, 121 "disabled": "Deaktiviert", 122 "save": "Speichern", 123 "saveData": "Speichern", 124 "newWindow": "In neuem Fenster öffnen", 125 "accept": "Akzeptieren", 126 "acceptTitle": "Akzeptieren", 127 "acceptAll": "Alle akzeptieren", 128 "decline": "Ablehnen", 129 "declineAll": "Alle ablehnen", 130 "close": "SchlieÃen", 131 "app": { 132 "optOut": { 133 "title": "(Opt-Out)", 134 "description": "Diese Anwendung wird standarmäÃig gelanden (aber Sie können sie deaktivieren)" 135 }, 136 "required": { 137 "title": "(immer notwendig)", 138 "description": "Diese Anwendung wird immer benötigt" 139 }, 140 "purposes": "Zwecke", 141 "purpose": "Zweck" 142 }, 143 purposes: { 144 openStreetMap: "OpenStreetMap", 145 youtube: "Youtube", 146 vimeo: "Vimeo", 147 typo3: "TYPO3 Cookies" 148 }, 149 categories: { 150 functional: { 151 title: "Funktionale Cookies", 152 description: "Lorem Ipsum" 153 }, 154 marketing: { 155 title: "Marketing Cookies", 156 description: "Lorem Ipsum" 157 } 158 }, 159 openStreetMap: { 160 title: "OpenStreetMap", 161 description: "Wir nutzen das Angebot von Openstreetmap.de um Ihnen auf interaktiven Karten die Standorte der Präsenzstellen zeigen zu können." 162 }, 163 youtube: { 164 title: "Youtube", 165 description: "Datenübertragung zu Video-Portal Youtube" 166 }, 167 vimeo: { 168 title: "Vimeo", 169 description: "Datenübertragung zu Vimeo zum Abspielen von Videos" 170 }, 171 typo3: { 172 title: "TYPO3 Cookies", 173 description: "Diese Cookies sind nötig für den Betrieb des Systems TYPO3 in Backend und Frontend" 174 }, 175 "poweredBy": "Realisiert mit Orejime" 176 } 177 }, 178 179 // The list of third-party apps that Orejime will manage for you. 180 // The apps will appear in the modal in the same order as defined here. 181 apps: [ 182 { 183 // The name of the app, used internally by Orejime. 184 // Each name should match a name of a <script> tag defined in the 185 // "Changing your existing third-party scripts" documentation step. 186 name: "openStreetMap", 187 188 // The title of you app as listed in the consent modal. 189 title: "OpenStreetMap", 190 191 // A list of regex expressions, strings, or arrays, giving the names of 192 // cookies set by this app. If the user withdraws consent for a 193 // given app, Orejime will then automatically delete all matching 194 // cookies. 195 // 196 // See a different example below with the inline-tracker app 197 // to see how to define cookies set on different path or domains. 198 cookies: [], 199 200 // Optional. The purpose(s) of this app. Will be listed on the consent notice.
201 // Do not forget to add translations for all purposes you list here. 202 purposes: ["openStreetMap"], 203 204 // Optional. A callback function that will be called each time 205 // the consent state for the app changes. Passes 206 // the `app` config as the second parameter as well. 207 callback: function(consent, app){ 208 // This is an example callback function. 209 console.log("User consent for app " + app.name + ": consent=" + consent); 210 211 // activate map, function is in our custom index.js 212 enableOsm(consent); 213 }, 214 215 // Optional. If "required" is set to true, Orejime will not allow this app to 216 // be disabled by the user. 217 // See "Special cases" below for more information. 218 // default to false 219 required: false, 220 221 // Optional. If "optOut" is set to true, Orejime will load this app 222 // even before the user gave explicit consent. 223 // We recommend always leaving this "false". 224 // See "Special cases" below for more information. 225 // defaults to false 226 optOut: false, 227 228 // Optional. If "default" is set to true, the app will be enabled by default 229 // Overwrites the global "default" setting. 230 // defaults to the value of the gobal "default" setting 231 // default: true, 232 233 // Optional. If "onlyOnce" is set to true, the app will only be executed 234 // once regardless how often the user toggles it on and off. 235 // defaults to false 236 onlyOnce: true, 237 }, 238 { 239 name: "youtube", 240 title: "Youtube", 241 purposes: ["youtube"], 242 cookies: [], 243 callback: function(consent, app){ 244 // This is an example callback function. 245 console.log("User consent for app " + app.name + ": consent=" + consent); 246 // activate youtube 247 allowYoutube(consent); 248 } 249 }, 250 { 251 name: "vimeo", 252 title: "Vimeo", 253 purposes: ["vimeo"], 254 cookies: [], 255 callback: function(consent, app){ 256 // This is an example callback function. 257 console.log("User consent for app " + app.name + ": consent=" + consent); 258 // activate vimeo 259 allowVimeo(consent); 260 } 261 }, 262 { 263 name: "typo3", 264 title: "TYPO§ Cookies", 265 purposes: ["typo3"], 266 cookies: [], 267 required: true 268 } 269 ], 270 // Optional. A list of categories under which apps will be classified. 271 // This allows for a visual grouping of the different apps, along with a 272 // description of their purpose. 273 categories: [ 274 { 275 name: "functional", 276 title: "Funktional", 277 apps: ["openStreetMap","typo3"] 278 }, 279 { 280 name: "marketing", 281 title: "Marketing", 282 // The list of apps belonging to the category, referenced by name. 283 apps: ["youtube","vimeo"] 284 } 285 ] 286}
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.