Jump to content

Opening a page w/ custom code in a new browser window

Recommended Posts

Hi All, probably a really simple answer to my question, but I cannot seem to get it working. 

I have a page with a code block in it.  the block consists of the following: 

<script type="text/javascript">app_id="65a4b32ce3befd0027036aa6";distribution_key="dist_3";</script><script type="text/javascript" src="https://loader.knack.com/65a4b32ce3befd0027036aa6/dist_3/knack.js"> </script><div id="knack-dist_3">Loading...</div>

This works great, but it ultimately closes all other browser tabs, therefore, when I exit this embedded application, I am left at the page login screen 


Another workaround could be to have it redirect to a home page. Any recommendations on how to address this? 

Thanks so much, 



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

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Hi @charles.dicarlo

Please share the demo page URL so I can review it and provide a solution.


With over 450+ websites built, I create uniquely tailored Squarespace sites designed to meet your specific needs and preferences. Let's bring your vision to life!

💻 Check out My Fiverr Gig: Click Here


Please like and upvote if my comments were helpful to you. Cheers!
Did I help? Buy me a coffee?

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.