-
AuthorPosts
-
February 15, 2021 at 3:20 pm #1280562
Hallo,
durch diesen sciptcode wird immer die Googleschrift geladen. wie kann man das verhindern? (Zeile: f.href= ‘//fonts.googleapis.com/css?family=Open+Sans+Condensed:300,700′). Ich habe alles was mit Google zu tun hat schon deaktiviert und die Schriften im Theme und im LayerSlider lokal hochgeladen.<!– google webfont font replacement –>
<script type=’text/javascript’>
(function() {/* check if webfonts are disabled by user setting via cookie – or user must opt in. */
var html = document.getElementsByTagName(‘html’)[0];
var cookie_check = html.className.indexOf(‘av-cookies-needs-opt-in’) >= 0 || html.className.indexOf(‘av-cookies-can-opt-out’) >= 0;
var allow_continue = true;
var silent_accept_cookie = html.className.indexOf(‘av-cookies-user-silent-accept’) >= 0;if( cookie_check && ! silent_accept_cookie )
{
if( ! document.cookie.match(/aviaCookieConsent/) || html.className.indexOf(‘av-cookies-session-refused’) >= 0 )
{
allow_continue = false;
}
else
{
if( ! document.cookie.match(/aviaPrivacyRefuseCookiesHideBar/) )
{
allow_continue = false;
}
else if( ! document.cookie.match(/aviaPrivacyEssentialCookiesEnabled/) )
{
allow_continue = false;
}
else if( document.cookie.match(/aviaPrivacyGoogleWebfontsDisabled/) )
{
allow_continue = false;
}
}
}if( allow_continue )
{
var f = document.createElement(‘link’);f.type = ‘text/css’;
f.rel = ‘stylesheet’;
f.href = ‘//fonts.googleapis.com/css?family=Open+Sans+Condensed:300,700’;
f.id = ‘avia-google-webfont’;document.getElementsByTagName(‘head’)[0].appendChild(f);
}
})();</script>
February 18, 2021 at 2:05 pm #1281993Hey bk28832,
Thank you for the inquiry.
You have to set the Enfold > Privacy & Cookie > Cookie Handling > Cookie-Zustimmungs-Nachricht aktivieren settings to the second option and enable the cookie consent bar or messages in order to prevent the fonts from loading without user consent. Please check the following documentation for more info about the privacy options.
// https://kriesi.at/documentation/enfold/privacy-cookies/
Best regards,
IsmaelFebruary 19, 2021 at 5:00 pm #1282266This reply has been marked as private.February 22, 2021 at 3:42 pm #1282831Hi,
Thank you for the inquiry.
We cannot reproduce the issue on our end when we used a locally uploaded font. Are you using a layer slider or a Google map element? These elements may still load custom fonts from Google, so you have to make sure that they do not load without user permission.
Best regards,
IsmaelFebruary 22, 2021 at 5:02 pm #1282849This reply has been marked as private.February 23, 2021 at 1:35 pm #1283080Hi,
Thank you for the info.
The demo is not using a locally hosted font, so it has to get the fonts from Google. We tried to login to the dashboard using the account above, but it seems to be invalid. Please check the login info or create another so that we could access the dashboard and check the settings.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.