Jump to content

Get static URL of uploaded JS file?

Go to solution Solved by IXStudio,

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?

Edited by salondaome
Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.