Jump to content
Go to solution Solved by sorca_marian,

Recommended Posts

Do you have any code in the global HEAD?
The script tag appears to be inside a text tag. 

If you haven't, contact Squarespace support because it might be a mistake in their code

Screenshot 2024-03-20 at 18.48.09.png

Link to comment

In the control panel press "/" which will open a search bar then type "code injection" and click on the first result

Do you see any code in HEADER or FOOTER?

 

Link to comment
  • Solution

You can remove it.
It looks like a broken URL in the script tag.
You can save it in a text file locally just in case.

Link to comment

It looks like a code that submits a custom form.
But it is not working at the moment. 
To make it work, the characters " around it need to be removed and it should look like below
Ideally, you should ask the developer who added it if it's still necessary.

<script>
function onSubmit(token){ 
	document.getElementById("myForm").submit();   
} 
</script>

 

Link to comment

Look for code injected in Page settings -> Advanced -> Page header Code Injection

There might be some custom code there

Link to comment

Don't forget to mark one of my answers as the answer to this topic 🙂

Link to comment

I will do!! Btw this is the code injected in the ABOUT JEANINE advanced page settings

 

<style>
footer#footer-sections .section-background {
  background-color:#ffffff;
}

Link to comment

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.