salondaome Posted August 26, 2020 Share Posted August 26, 2020 (edited) 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? Edited August 26, 2020 by salondaome Link to comment
Solution IXStudio Posted August 26, 2020 Solution Share 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 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