Marina_Kir Posted March 13, 2021 Share Posted March 13, 2021 Hello everyone, I hope you are all doing well, I'm encountering a peculiar issue with the Editor. I've inserted a code block with a few lines of jQuery that dynamically hide a couple of sections on my homepage. I've deliberately put this script in a code block and not as code injection, so that the Editor would disable it while I'm working on the site. But Squarespace inconveniently loads the script when I'm in the Editor instead of showing me the Safe Mode notification -_- Do you know how to prevent this from happening? Cheers, Marina ✨ Link to comment
Solution creedon Posted March 13, 2021 Solution Share Posted March 13, 2021 Is is possible you turned on Preview in Safe Mode? See Disable scripts in preview (If the disable scripts message doesn't appear automatically, step 1). Let us know how it goes. Marina_Kir 1 Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
Marina_Kir Posted March 23, 2021 Author Share Posted March 23, 2021 Thank you Creedon! It worked like a charm 🙂 creedon 1 Link to comment
bauerjon Posted March 26, 2022 Share Posted March 26, 2022 I also had an issue where my entire site crashed and couldn't even disable scripts in the editor, no matter what I tried. My fix was to, very quickly, run this from dev tools console after the square space editor loaded to remove the site preview iframe: $('#sqs-site-frame').remove() Hope this helps someone! Link to comment
paul2009 Posted March 26, 2022 Share Posted March 26, 2022 3 hours ago, bauerjon said: I also had an issue where my entire site crashed and couldn't even disable scripts in the editor, no matter what I tried. You can put your site into a "safe mode" that prevents custom code from loading by adding "/safe" to the URL like this: https://your-site.squarespace.com/config/safe/ Marina_Kir 1 Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Link to comment
ThisWayToFabulous Posted September 25, 2023 Share Posted September 25, 2023 @paul2009 how to you UNDO this tho? I Can't get mine to like STOP being in safe mode? Link to comment
creedon Posted September 25, 2023 Share Posted September 25, 2023 1 hour ago, ThisWayToFabulous said: how to you UNDO this tho? I Can't get mine to like STOP being in safe mode? On desktop at the bottom of the window. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. 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