PabloHamburg Posted December 8, 2022 Share Posted December 8, 2022 Hello everybody! I am not an expert in designing a website, so I hope you can help me. For my site I am using the following link in my code injection: <html lang="de"> <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> Because of the problems with the GDPR I really would like to download and host this data local in squarespace. Is this possible? Thank you very much in advance! Pablo Link to comment
Solution paul2009 Posted December 8, 2022 Solution Share Posted December 8, 2022 (edited) On 12/8/2022 at 6:54 AM, PabloHamburg said: Because of the problems with the GDPR I really would like to download and host this [jQuery file] in squarespace. Is this possible? Yes. You can download the jQuery file manually and then upload the file to your Squarespace site. After doing this you can amend your script source above to point to the new source of the file. Instead of //ajax.googleapis.com/ajax/libs/jquery/1/filename it will be /s/filename. That said, a couple of points to note: jQuery 1 is very old and has known security vulnerabilities. Do ensure you use the latest version of jQuery that doesn't have vulnerabilities. When you upload the file to Squarespace, the filename may change. You can check the new filename after uploading it by hovering over the link you have created. Let me know if this is clear, or if you need further information. Did this help? Please give feedback by clicking an icon below ⬇️ Edited December 9, 2022 by paul2009 Improve your online store with our extensions.About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. Content: Links in my posts may refer to SF Digital products or may be affiliate links.Catch up on all the release notes and announcements 2023 [for Circle members only] (there's a public version here)Buy me a coffee Link to comment
PabloHamburg Posted December 9, 2022 Author Share Posted December 9, 2022 Hello Paul, yes, its working! Thank you very much for your work! Have a good weekend! Pablo paul2009 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment