-
AuthorPosts
-
May 23, 2018 at 5:18 pm #960989
Hi!
First of all, I don’t use Google Maps. The api seems to load a Google font anyway. uMatrix logs this:
https://fonts.googleapis.com/css?family=Roboto+Slab:100,300,regular,700%7CRoboto:regular&subset=latin%2Clatin-extI spent quite some time on this now. Would be great, if anyone could help me out :)
Is there an easy way to disable the google maps api? I want my website to be GDPR compliant.
Thanks in advance!
Harald
May 24, 2018 at 1:20 pm #961518I would also like to avoid reloading fonts from googleapis.com. This way the user’s browser connects to google. The IP address of the user is a personal data, which we would then pass on to google. We would have to cover this in our privacy policy. I do not want to do this.
I would like to download the google fonts and be able to host them myself.
So I would like a checkbox:
[ ] Do not use google API
and a configuration options:
Provide the URL, where the google fonts can be found: ____________Thanks a lot
CorneliusMay 25, 2018 at 1:44 am #961912Hi,
Please try adding this at the very end of your themes/child theme’s functions.php file:
// Disable google fonts add_action( 'init', 'enfold_customization_switch_fonts' ); function enfold_customization_switch_fonts() { global $avia; $avia->style->print_extra_output = false; } // End function
For more information about adding custom script please check this link.
Best regards,
VinayMay 25, 2018 at 11:29 am #962028Hi Vinay!
Thanks for your reply! The provided solution didn’t change a thing, unfortunately.
It seems like a google API (I think it’s google maps) loads the font, though I don’t use any google API.Thanks for your support!
HaraldMay 30, 2018 at 8:51 pm #964489Hi again!
Has anyone any further thoughts about how to get rid of that font loading?
Thank you very much for your ideas in advance!
Harald
June 1, 2018 at 1:34 pm #965320Hi Harald,
Could you post a link to the page in question so that we can take a closer look please?
Best regards,
RikardJune 1, 2018 at 7:51 pm #965534Hi Rikard!
Thanks for your reply! Yes, it’s https://www.harald-dvorak.at/
The problem seems to be the start page, according to my umatrix log.Best regards and thank you for your support!
Harald
June 1, 2018 at 8:05 pm #965540Harald… if you check your source code, you will see that layer slider is loading google fonts and you have a dns prefetch for fonts.googleapis.com in there as well.
June 3, 2018 at 11:13 am #966097Thank you very much! That‘s it!
Found the corresponding options for the layout slider!Problem solved!
Cheers, Harald!
June 4, 2018 at 9:18 pm #966812Hi,
Glad we could help!
Please take a moment to review our theme and show your support https://themeforest.net/downloads
To know more about enfold features please check – http://kriesi.at/documentation/enfold/
Thank you for using Enfold :)Best regards,
Basilis -
AuthorPosts
- The topic ‘Can't get rid of google font loading’ is closed to new replies.