salondaome Posted August 26, 2020 Posted August 26, 2020 I have a Javascript file that I've uploaded to my site which can be accessed via url.com/s/hover.js. I want to reference this script using code injection, but just putting this in doesn't work: <script src="url.com/s/hover.js"</script> When I visit that URL, hover.js just automatically downloads instead of displaying inside my browser. Can't see what the static1.squarespace.com link actually is. With that in mind, how do I get or find the static URL of this file?
IXStudio Posted August 26, 2020 Posted August 26, 2020 Hi, Please use this code. Also please send your URL to check it! <script src="http://url.com/s/hover.js"></script> Let me know if it helps you please! Best, Leopold Ninja Kit Extension: Upgrade your Squarespace website without coding.YouTube Preview - FREE DOWNLOAD
Recommended Posts
Archived
This topic is now archived and is closed to further replies.