-- CODE language-js line-numbers -- jQuery(function() { // Get page title var pageTitle = jQuery("title").text(); // Change page title on blur jQuery(window).blur(function() { jQuery("title").text("💕 Miss you 💕"); }); // Change page title back on focus jQuery(window).focus(function() { jQuery("title").text(pageTitle); }); });
<!-- Add the COOKIE CONSENT css -->
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/cookieconsent@3/build/cookieconsent.min.css" />
hello test