IDENTIFIER
IDENTIFIER =\DevOwl\RealCookieBanner\presets\PresetIdentifierMap::GOOGLE_FONTS
Google Fonts cookie preset.
WEB_FONT_LOADER_ON_PAGE_LOAD ='<script> (function () { // Web Font Loader compatibility (https://github.com/typekit/webfontloader) var modules = { typekit: "https://use.typekit.net", google: "https://fonts.googleapis.com/" }; var load = function (config) { setTimeout(function () { var a = window.consentApi; // Only when blocker is active if (a) { // Iterate all modules and handle in a single `WebFont.load` Object.keys(modules).forEach(function (module) { var newConfigWithoutOtherModules = JSON.parse( JSON.stringify(config) ); Object.keys(modules).forEach(function (toRemove) { if (toRemove !== module) { delete newConfigWithoutOtherModules[toRemove]; } }); if (newConfigWithoutOtherModules[module]) { a.unblock(modules[module]).then(function () { var originalLoad = window.WebFont.load; if (originalLoad !== load) { originalLoad(newConfigWithoutOtherModules); } }); } }); } }, 0); }; if (!window.WebFont) { window.WebFont = { load: load }; } })(); </script>'
Web Font Loader compatibility.