function getCookie(cname) {
let name = cname + "=";
let decodedCookie = decodeURIComponent(document.cookie);
let ca = decodedCookie.split(';');
for(let i = 0; i <ca.length; i++) {
let c = ca[i];
while (c.charAt(0) == ' ') {
c = c.substring(1);
}
if (c.indexOf(name) == 0) {
return c.substring(name.length, c.length);
}
}
return "";
}
//const loggedIn = getCookie("JWT-TOKEN");
//if(loggedIn.length){
//newUrl = new URL(window.location.href);
//if(!newUrl.searchParams.has("cd")) {
// newUrl.searchParams.set("cd", true);
//window.location.href = newUrl.href;
//}
//}<!--(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PDKTG5L');--><!-- --><!--
(function(h,o,t,j,a,r){
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
h._hjSettings={hjid:3277744,hjsv:6};
a=o.getElementsByTagName('head')[0];
r=o.createElement('script');r.async=1;
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
a.appendChild(r);
})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
-->
function analyticsInit() {if (window.gtmDidInit) {
return false;
}
window.gtmDidInit = true;
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PDKTG5L');(function(h,o,t,j,a,r){
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
h._hjSettings={hjid:3277744,hjsv:6};
a=o.getElementsByTagName('head')[0];
r=o.createElement('script');r.async=1;
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
a.appendChild(r);
})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');var googleOptimize = document.createElement('script');
googleOptimize .setAttribute('src','https://www.googleoptimize.com/optimize.js?id=OPT-KHT7PBM');
document.head.appendChild(googleOptimize);
};
document.addEventListener('scroll', analyticsInit);
document.addEventListener('mousemove', analyticsInit);
document.addEventListener('touchstart', analyticsInit);
Happy Friday the 13th - SuperMemo show top banner:1 Main navigation Friday the 13th doesn’t have to be an unlucky day! Especially if you have a 30% discount on all language courses!
Celebrate with us the 32nd anniversary of the creation of our first computer program: SuperMemo version 1.0 for DOS – and take advantage of the discount.
Visit the page for your chosen language course Choose an Unlimited Access option Provide your billing information and enter the discount code: LUCKY2019 Click the orange button with an arrow to get a special price Complete your transaction and go to “My learning” to open the course!
The code is valid on 13.12.2019 only, on the SuperMemo.com website.
Related Posts New iOS app version now available! Opt for modern and convenient learning with the SuperMemo mobile app. Read on to discover what you can find in the new iOS version and how to use the features...
© 2026 SuperMemo World sp. z o.o. Icon chevron up <!---->