Bwoody1026 Posted April 2, 2020 Share Posted April 2, 2020 Hi, I am trying to add an "Appfolio vacancy listing widget" into my new Squarespace page that is currently being built. I copy and pasted the HTML provided by Appfolio into a "code" block. And it says "Script Disabled." If I try pasting it into just a normal content block, nothing happens. Any ideas??? Here is the javascript code: <script type='text/javascript' charset='utf-8'> document.write(unescape("%3Cscript src='" + (('https:' == document.location.protocol) ? 'https:' : 'http:') + "//prp.appfolio.com/javascripts/listing.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type='text/javascript' charset='utf-8'> Appfolio.Listing({ hostUrl: 'prp.appfolio.com', //propertyGroup: 'My Group Name', themeColor: '#676767', height: '500px', width: '100%', defaultOrder: 'date_posted' }); </script> Link to comment
tuanphan Posted April 3, 2020 Share Posted April 3, 2020 It is normal behavior. To avoid scripts that cause problems while you are in edit mode, the script will be disabled. After inserting, open the web page to see the results. Do not check in edit mode. Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Bwoody1026 Posted April 3, 2020 Author Share Posted April 3, 2020 Good tip. But it didn't work. This is what it looks like now. I hope I am making an obvious error. (I am not a code junkie) Link to comment
tuanphan Posted April 4, 2020 Share Posted April 4, 2020 In Code Block where you inserted, DO NOT check Display Source Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
jer5150 Posted April 4, 2020 Share Posted April 4, 2020 10 hours ago, tuanphan said: In Code Block where you inserted, DO NOT check Display Source Hi, I'm having the same exact issue. tuanphan - I tried to uncheck Display Source, but you're not able to if javascript is selected as the type in the dropdown. If I change the type to HTML, I can uncheck Display Source, though.... Any ideas? Link to comment
Bwoody1026 Posted April 5, 2020 Author Share Posted April 5, 2020 Ok, here are some photos to show what happened. I AM NOT A TECHIE. So I had to play around with the advice and see what happened. tuanphan 1 Link to comment
Bwoody1026 Posted April 5, 2020 Author Share Posted April 5, 2020 Also, this was "javascript," but I said "HTML" in the code block. And it seemed to work. Link to comment
Carfol Posted June 16, 2021 Share Posted June 16, 2021 Site URL: https://www.charliefollows.com Hello, I am trying to embed Vimeo videos onto a page but the script is disabled. Does anyone know how to fix this? Link to comment
Solution paul2009 Posted June 16, 2021 Solution Share Posted June 16, 2021 (edited) You'll often see this message if you have a code block and you've added a script to it. The 'Script Disabled' message is Squarespace's way of explaining that Code Block scripts will not run when you are logged in to the website. It's a security feature that is designed to protect your site editor from code that may break it. To see the code in action, visit your site in an incognito or private browser window without logging in to the site. You should then see what your page looks like to visitors, which may be slightly different than in the preview window. If your site isn't live yet, you may see a 'Private Site' message when you try to view your site. If you do, you'll need to follow one more step - to set a site-wide password that you can use to view the site without logging on. Did this help? Please give feedback by clicking an icon below ⬇️ Edited December 13, 2022 by paul2009 edited for clarity About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. Link to comment
Wolfsilon Posted June 16, 2021 Share Posted June 16, 2021 The answer above from Paul is generally the most accepted answer, however. In my own experience, I just enter the code, script, or embed and 'save'. Then refresh the page and it works. I must have something in my browser settings because maybe this method doesn't work for some users. Link to comment
bluespainter Posted May 24, 2022 Share Posted May 24, 2022 Hi, I am looking for help on an issue with my javascript that was entered in the "code". It had worked for years. But, recently I was updating it and I put the whole page offline. When I went to "enable" page. The page worked but the script does not. I have gone over and over and I can't get it to work. When I am in edit mode - it says "Script Disabled" which is what used to happen but would work once the page was enabled. Any ideas or comments would help. Thanks! C Link to comment
tuanphan Posted May 25, 2022 Share Posted May 25, 2022 It is default message in editor mode. In editor mode, script will be disabled to avoid some problems when editing page Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
TheCruiseCo Posted August 27, 2022 Share Posted August 27, 2022 Site URL: https://www.thecruiseco.com Good morning all, I have notice that I have "Undefined" in my drop down menu on homepage search element. I also see "Script Disabled" by the Search element also when I go to edit mode . Its on every field. How to I remove "Undefined" that from the dropdown field and remove "Script Disabled". Your help and advice is much appreciated. Thank you. Link to comment
tuanphan Posted August 28, 2022 Share Posted August 28, 2022 17 hours ago, thecruiseco said: Site URL: https://www.thecruiseco.com Good morning all, I have notice that I have "Undefined" in my drop down menu on homepage search element. I also see "Script Disabled" by the Search element also when I go to edit mode . Its on every field. How to I remove "Undefined" that from the dropdown field and remove "Script Disabled". Your help and advice is much appreciated. Thank you. It is default message in editing mode, no need to care it. & no way to rename/remove that text Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Carlie_P Posted December 12, 2022 Share Posted December 12, 2022 Hi, I am trying to embed a converkit form to my squarespace website. When I add the HTML code I get the message script disabled. When I save to try and preview the form there is just a blank space and no form. Can you help please Link to comment
paul2009 Posted December 13, 2022 Share Posted December 13, 2022 On 12/12/2022 at 3:35 PM, Carlie_P said: When I add the HTML code I get the message script disabled. Can you help please Please see the answer above. About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. Link to comment
Camasu Posted June 27 Share Posted June 27 Hi, I have a similar problem and I have integrated the code (see below) of our external service provider so that the created online offer is displayed on our website. However, when I load the page, only a box appears (see screenshot) and the online offer does not load. When I load the page a 2nd time, it then appears. What is the reason for this and how can I fix the error? Thanks & best, Claudia <html> <body> <div id="iframediv"> <h3 class="text-center">Angebote</h3> <iframe id="meineReiseangeboteIframe1"></iframe> </div> <script src="https://www.paxconnect.de/js/meinereiseangebote_iframe_v1.1.0 .js"></script> <script> (function() { initMeineReiseangeboteIframe('meineReiseangeboteIframe1', 'MTSP-5813?supressCookieConsent'); })(); </script> </body> </html> Link to comment
paul2009 Posted June 27 Share Posted June 27 (edited) 4 hours ago, Camasu said: when I load the page, only a box appears (see screenshot) and the online offer does not load. When I load the page a 2nd time, it then appears. This is an Ajax Loading issue on your Brine-family template. Please see the guide I wrote:Why does Squarespace code only work on refresh? Did this help? Please give feedback by clicking an icon below ⬇️ Edited June 27 by paul2009 Camasu 1 About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. 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