Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- window.CookieConsent.init({
- theme: {
- barColor: '#303030',
- barTextColor: '#FFF',
- barMainButtonColor: '#FFF',
- barMainButtonTextColor: '#312e2e',
- modalMainButtonColor: '#312e2e',
- modalMainButtonTextColor: '#FFF',
- },
- language: {
- current: window.language || 'en',
- locale: {
- en: {
- barMainText: 'This website uses cookies to ensure you get the best experience on our website.',
- barLinkSetting: 'Cookie Settings',
- barBtnAcceptAll: 'Accept all cookies',
- modalMainTitle: 'Cookie settings',
- modalMainText: 'Cookies are small piece of data sent from a website and stored on the user\'s computer by the user\'s web browser while the user is browsing. Your browser stores each message in a small file, called cookie. When you request another page from the server, your browser sends the cookie back to the server. Cookies were designed to be a reliable mechanism for websites to remember information or to record the user\'s browsing activity.',
- modalBtnSave: 'Save current settings',
- modalBtnAcceptAll: 'Accept all cookies and close',
- modalAffectedSolutions: 'Affected solutions:',
- learnMore: 'Learn More',
- on: 'On',
- off: 'Off',
- },
- es: {
- barMainText: 'Este sitio web utiliza cookies para asegurar que usted obtenga la mejor experiencia en nuestro sitio web.',
- barLinkSetting: 'Configuración',
- barBtnAcceptAll: 'Acceptar todas las cookies',
- modalMainTitle: 'Configuración de las Cookiees',
- modalMainText: 'Las cookies son pequeños datos enviados desde un sitio web y almacenados en el ordenador del usuario por el navegador web del usuario mientras éste navega. El navegador almacena cada mensaje en un pequeño archivo, llamado cookie. Cuando solicita otra página del servidor, su navegador envía la cookie de vuelta al servidor. Las cookies fueron diseñadas para ser un mecanismo confiable para que los sitios web recuerden información o registren la actividad de navegación del usuario.',
- modalBtnSave: 'Guardar',
- modalBtnAcceptAll: 'Acceptar todas y cerrar',
- modalAffectedSolutions: 'Soluciones afectadas:',
- learnMore: 'Saber más...',
- on: 'Activar',
- off: 'Desactivar',
- },
- sk: {
- barMainText: 'Pre zlepšovanie vášho zážitku na našich stránkach použà ame cookies.',
- barLinkSetting: 'Nastavenia cookies',
- barBtnAcceptAll: 'Prijà mať všetky súbory cookie',
- modalMainTitle: 'Nastavenia cookies',
- modalMainText: 'Súbory cookie sú malé textové súbory obsahujúce názov navÅ¡tà venej stránky, platnosÅ¥ a preddefinovanú hodnotu. Ukladajú sa do prieÄinku vášho prehliadaÄa. Pri opätovnej návÅ¡teve webovej stránky, ktorá súbor vytvorila, jej môžu byÅ¥ prehliadaÄom znovu odoslané. Cookies, ktoré použà vame, nepoÅ¡kodzujú váš poÄà taÄ ani iné zariadenia použÃà vané na prehliadanie internetu.',
- modalBtnSave: 'Uloženie nastavenia',
- modalBtnAcceptAlll:''Prijà mať všetky súbory cookie a zatvoriť',
- modalAffectedSolutions: 'Na Äo budú maÅ¥ vplyv:',
- on: 'Zapnúť',
- off: 'Vypnúť',
- }
- }
- },
- categories: {
- necessary: {
- needed: true,
- wanted: true,
- checked: true,
- language: {
- locale: {
- en: {
- name: 'Strictly Necessary Cookies for OJS',
- description: 'For the pupose of proper form handling and for the authentication of logged in users we need to use cookies.'
- },
- es: {
- name: 'Cookies imprescindibles para OJS',
- description: 'Para el correcto funcionamiento de OJS y para la autenticación de los usuarios registrados necesitamos usar cookies.'
- },
- sk: {
- name: 'Prà sne potrebné súbory cookie fur OJS',
- description: 'For the pupose of proper form handling and for the authentication of logged in users we use cookies.'
- }
- }
- }
- },
- analytics: {
- needed: false,
- wanted: false,
- checked: false,
- language: {
- locale: {
- en: {
- name: 'Analytics Cookies',
- description: 'To continuously improve our services we use exernal analytics solutions. We always use the maximum level of anonymization allowed on the 3rd party services.'
- },
- sk: {
- name: 'Analytics Cookies',
- description: 'To continuously improve our services we use exernal analytics solutions. We always use the maximum level of anonymization allowed on the 3rd party services.'
- }
- }
- }
- },
- social: {
- needed: false,
- wanted: false,
- checked: false,
- language: {
- locale: {
- en: {
- name: 'Social Cookies',
- description: 'For social sharing we use 3rd party services which are using cookies.',
- },
- sk: {
- name: 'Socialne média',
- description: 'Na poskytovanie podpory pre naÅ¡ich návÅvÅ¡tevnÃokovopoužà vame doplnok sociálneho chatu. Tento doplnok potrebuje súbory cookie na správne fungovanie.',
- }
- }
- }
- }
- },
- services: {
- ojs: {
- category: 'social',
- type: 'localcookie', // dynamic-script, script-tag, wrapped, localcookie
- search: 'OJS',
- cookies: [
- {
- // Regex matching cookie name.
- name: /OJS-ReDi-da/,
- domain: `.${window.location.hostname}`
- }
- ],
- language: {
- locale: {
- en: {
- name: 'OJS',
- }
- }
- }
- },
- hotjar: {
- category: 'analytics',
- type: 'dynamic-script',
- search: 'hotjar',
- language: {
- locale: {
- en: {
- name: 'Hotjar',
- }
- }
- }
- },
- analytics: {
- category: 'analytics',
- type: 'dynamic-script',
- search: 'analytics',
- // List of known cookie names or Regular expressions matching
- // cookie names placed by this service.
- // These willbe removed from current domain and .domain.
- cookies: [
- {
- // Known cookie name.
- name: '_gid',
- // Expected cookie domain.
- domain: `.${window.location.hostname}`
- },
- {
- // Regex matching cookie name.
- name: /^_ga/,
- domain: `.${window.location.hostname}`
- }
- ],
- language: {
- locale: {
- en: {
- name: 'Google Analytics',
- }
- }
- }
- },
- addtoany: {
- category: 'social',
- type: 'script-tag',
- search: 'addthis',
- language: {
- locale: {
- en: {
- name: 'AddThis',
- }
- }
- }
- },
- twitter: {
- category: 'social',
- type: 'script-tag',
- search: 'twitter',
- language: {
- locale: {
- en: {
- name: 'Twitter',
- }
- }
- }
- },
- facebook: {
- category: 'social',
- type: 'dynamic-script',
- search: 'facebook',
- language: {
- locale: {
- en: {
- name: 'Facebook',
- }
- }
- }
- }
- }
- });
- $(function() {
- $(".cc-text").append(' <a href="your_link">Learn More</a>');
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement