News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Avoid loading jquery from google etc. CDNs

Started by arminus, August 12, 2022, 10:37:34 AM

Previous topic - Next topic

arminus

In Germany, there is growing concern regarding usage of "undocumented" google functions. This is in relation to GDPR/DSGVO aspects and so far mostly concerns google fonts, however, one of our users complained about jquery being loaded from the google CDN.

Since the version of this file is hardcoded into SMF code anyway, would it be possible to also deploy jquery.min.js together with the SMF code in the future in order to preempt such concerns?

I haven't checked for other loads from remote CDNs, maybe there's more...

TwitchisMental

Quote from: arminus on August 12, 2022, 10:37:34 AMIn Germany, there is growing concern regarding usage of "undocumented" google functions. This is in relation to GDPR/DSGVO aspects and so far mostly concerns google fonts, however, one of our users complained about jquery being loaded from the google CDN.

Since the version of this file is hardcoded into SMF code anyway, would it be possible to also deploy jquery.min.js together with the SMF code in the future in order to preempt such concerns?

I haven't checked for other loads from remote CDNs, maybe there's more...
If you are using SMF 2.1 you can change how you load the Jquery Library.

Admin CP > Configuration > Features & Options > General

Then go to Source for the jQuery Library. You can choose Google CDN, jQuery CDN, Microsoft CDN, Local, or custom even.

arminus


TwitchisMental


Advertisement: