Skylab Posted August 14, 2022 Share Posted August 14, 2022 Site URL: https://skylabnyc.com/ So, before I posted this I did research on it in the Squarespace forums. But, I'm no coder so I just wanted some clarification on what I read. I wanted to put this code into my site (i have a live commerce site). It's a discord chat window I wanted to try out, the code is this:<iframe src="https://discord.com/widget?id=880540850617196594&theme=dark" width="350" height="500" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe> When I put that into an embed block under code snippet nothing comes up. It's a blank box. When I try a code block nothing shows up. Is this because my site is on HTTPS and that is protecting me from putting in code that someone could use to hack into? If I were to lower my site security would this then work? If this is the case, is there no way to use a Discord chat window with HTTPS? Any help would be appreciated, thanks everyone! Link to comment
tuanphan Posted August 16, 2022 Share Posted August 16, 2022 Hi. Just tested above code with Code Block & it looks fine to me. Can you share link to page where you added Code Block? 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
Skylab Posted August 31, 2022 Author Share Posted August 31, 2022 (edited) Hey Tuanphan. Ok i got the Discord chat window to appear and it now functions right. The strange thing is it shows up in Opera, Microsoft Edge, and Firefox. It doesn't show up in Chrome. For Chrome, there's a gray box with a sad face that pops up for a second and then disappears. It appears where the Discord widget should appear. I've attached a screenshot for clarity. What do you think? Edited August 31, 2022 by Skylab Link to comment
paul2009 Posted August 31, 2022 Share Posted August 31, 2022 9 hours ago, Skylab said: It doesn't show up in Chrome. This is what i see in Chrome: Improve your online store with our extensions.About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. Content: Links in my posts may refer to SF Digital products or may be affiliate links.Catch up on all the release notes and announcements 2023 [for Circle members only] (there's a public version here)Buy me a coffee Link to comment
Skylab Posted September 1, 2022 Author Share Posted September 1, 2022 ok great, thank you both for the help and extra pair of eyes. I'll leave it as is on my site. thanks again! 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