Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #967675

    [av_privacy_google_webfonts] – allows a user to disable the use of google webfonts in his or her browser. If you enable it and reload the page this is still in the code: Is it still loading the fonts or is the condition looking for cookie and fires if no cookie is found? `<!– google webfont font replacement –>

    <script type=’text/javascript’>
    if(!document.cookie.match(/aviaPrivacyGoogleWebfontsDisabled/)){
    (function() {
    var f = document.createElement(‘link’);

    f.type = ‘text/css’;
    f.rel = ‘stylesheet’;
    f.href = ‘//fonts.googleapis.com/css?family=Open+Sans:400,600’;
    f.id = ‘avia-google-webfont’;

    document.getElementsByTagName(‘head’)[0].appendChild(f);
    })();
    }
    </script>`

    How can I test this?

    • This topic was modified 6 years ago by royaltask.
    #968991

    I´ve got the same question … Google fonts still appear after reload …

    #969501

    I have the same issue

    #969538

    My question was concerning the script:
    if(!document.cookie.match(/aviaPrivacyGoogleWebfontsDisabled/)){

    Does it fire after user opt out?
    If not everything is fine.

    #969839

    Hi,

    Yes, if the user is opt out, we do disable the cookies.

    Best regards,
    Basilis

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.