Jump to content

Get static URL of uploaded JS file?

Recommended Posts

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?

Link to comment
  • Replies 1
  • Views 738
  • Created
  • Last Reply


This topic is now archived and is closed to further replies.

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.