I am looking to host an entire Squarespace
website locally, including all associated files. I have been diligently wget
ing all the associated files and replacing the path with local paths. However I hit a snag in the following file:
//- this loads but it's from squarespace, so we can't use this unless we have an active account
//- script(src='../squarespace/scripts/common-82d600baf3cebf62de6b.js')
script(crossorigin='anonymous', src='//static.squarespace.com/universal/scripts-compressed/common-82d600baf3cebf62de6b-min.en-US.js')
Note the commented out section is where I wish to refer to a local version of the .js
script. The full script, un-minified, is in the link below: https://raw.githubusercontent.com/lingxiao/Homepage/master/public/squarespace/scripts/common-82d600baf3cebf62de6b.js
.
The problem is that part of the website still loads as intended, but a lot of the effect is gone and consequentially the content is no longer viewable. For example, the original site is here: https://lingxiaoling.me/tech
, and when I use the local hosted file, when I scroll down, the TECH ... I interrogate ...
page remains static.
However when I use the squarespace hosted file, the page scrolls down as intended.
I tried examining the common-####.de6bjs
file and nothing in it jumps out at me. Is the notion of ripping an entire Square
space webpage locally and modifying it insane?