More actions
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* Any JavaScript here will be loaded for all users on every page load. */
mw.loader.load('https://cdn.jsdelivr.net/gh/orestbida/[email protected]/dist/cookieconsent.umd.js');
// Enable dark mode
function runConsent() {
document.documentElement.classList.add('cc--darkmode');
CookieConsent.run({
guiOptions: {
consentModal: {
layout: "box",
position: "bottom left",
equalWeightButtons: true,
flipButtons: false
},
preferencesModal: {
layout: "box",
position: "right",
equalWeightButtons: true,
flipButtons: false
}
},
categories: {
necessary: {
readOnly: true
},
functionality: {},
analytics: {}
},
language: {
default: "en",
autoDetect: "browser",
translations: {
en: {
consentModal: {
title: "Hello there, we use cookies!",
description: "We use cookies to improve your experience on our website. By clicking 'Accept All', you agree to the storing of cookies on your device to analyze the site usage, personalize content, and send data to us which helps us improve the website. Adjust your preferences by clicking 'Manage preferences'.",
closeIconLabel: "",
acceptAllBtn: "Accept all",
acceptNecessaryBtn: "Reject all",
showPreferencesBtn: "Manage preferences",
footer: "<a href=\"privacy-policy\">Privacy Policy</a>\n<a href=\"terms-of-service\">Terms and conditions</a>"
},
preferencesModal: {
title: "Consent Preferences Center",
closeIconLabel: "Close modal",
acceptAllBtn: "Accept all",
acceptNecessaryBtn: "Reject all",
savePreferencesBtn: "Save preferences",
serviceCounterLabel: "Service|Services",
sections: [
{
title: "Cookie Usage",
description: "We use cookies to analyze the site usage, personalize content for you and send usage data and device information to us. This information helps us identify problems related to the site and at the same time helps us to improve the website."
},
{
title: "Strictly Necessary Cookies <span class=\"pm__badge\">Always Enabled</span>",
description: "These cookies are strictly necessary in order to keep the website running in optimal parameters, and run without problems.",
linkedCategory: "necessary"
},
{
title: "Functionality Cookies",
description: "These cookies makes sure that some services on the website, including the analytics services, runs well and performs normally.",
linkedCategory: "functionality"
},
{
title: "Analytics Cookies",
description: "These cookies are used to analyze the site usage, measure user interaction and engagement, and overall they are used by us to improve the website.",
linkedCategory: "analytics"
},
{
title: "More information",
description: "For any query in relation to our policy on cookies and your choices, please <a class=\"cc__link\" href=\"https://support.swordigoplus.cf\">contact us</a>."
}
]
}
}
}
}
});
}
mw.loader.using('https://cdn.jsdelivr.net/gh/orestbida/[email protected]/dist/cookieconsent.umd.js', function() {
initializeCookieConsent();
});