Advertisement
Google Calendar Error: JavaScript is required to show this page
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
-
- Joomla! Fledgling
- Posts: 4
- Joined: Sat Sep 14, 2024 9:57 pm
Google Calendar Error: JavaScript is required to show this page
I have a Google calendar embedded into my site. I was doing article page updates one day when suddenly, my calendar started throwing this error:
"JavaScript is required to show this page. Let this site use JavaScript in your browser settings. Learn more" I don't recall doing any updates that day before it happened. I later tried to update my template but that did not resolve the issue. This error shows up on all devices, all browsers. It's not a browser issue but that's all I can find trying to do online searches.
Right after it started, I got several errors on my site and then got an email from my hosting company about server issues and that my site was being migrated. However, after the migration, when I opened a ticket with them, they said it's not on their end.
I really need some help on getting this solved. It's been a few weeks and I've gotten nowhere.
Thank you,
Bethany
"JavaScript is required to show this page. Let this site use JavaScript in your browser settings. Learn more" I don't recall doing any updates that day before it happened. I later tried to update my template but that did not resolve the issue. This error shows up on all devices, all browsers. It's not a browser issue but that's all I can find trying to do online searches.
Right after it started, I got several errors on my site and then got an email from my hosting company about server issues and that my site was being migrated. However, after the migration, when I opened a ticket with them, they said it's not on their end.
I really need some help on getting this solved. It's been a few weeks and I've gotten nowhere.
Thank you,
Bethany
You do not have the required permissions to view the files attached to this post.
Advertisement
- toivo
- Joomla! Master
- Posts: 17793
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Sydney, Australia
Re: Google Calendar Error: JavaScript is required to show this page
Welcome to the Joomla forum!
What is the URL of the website?
What is the URL of the website?
Toivo Talikka, Global Moderator
- toivo
- Joomla! Master
- Posts: 17793
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Sydney, Australia
Re: Google Calendar Error: JavaScript is required to show this page
Ok, I found the URL.
Click F12 to see Developer Tools pane in the browser. The Console tab displays the javascript error message that explains the issue: "Blocked script execution in '<URL>' because the document's frame is sandboxed and the 'allow-scripts' permission is not set."
Set the sandbox attribute in the iframe tag to allow javascript. Presumably (not tested): Ref. HTML <iframe> sandbox Attribute
Click F12 to see Developer Tools pane in the browser. The Console tab displays the javascript error message that explains the issue: "Blocked script execution in '<URL>' because the document's frame is sandboxed and the 'allow-scripts' permission is not set."
Set the sandbox attribute in the iframe tag to allow javascript. Presumably (not tested):
Code: Select all
<iframe sandbox="allow-scripts">
Toivo Talikka, Global Moderator
-
- Joomla! Fledgling
- Posts: 4
- Joined: Sat Sep 14, 2024 9:57 pm
Re: Google Calendar Error: JavaScript is required to show this page
Thank you toivo, I'll work to figure that out as I'm not aware of any sandbox stuff. When I go into that F12 console, I don't see that message, here's what I do see:
https://elizabethtonchurch.com/index.ph ... -of-events
https://elizabethtonchurch.com/index.ph ... -of-events
You do not have the required permissions to view the files attached to this post.
- toivo
- Joomla! Master
- Posts: 17793
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Sydney, Australia
Re: Google Calendar Error: JavaScript is required to show this page
Which browser are you using?
Toivo Talikka, Global Moderator
- Webdongle
- Joomla! Master
- Posts: 44580
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Google Calendar Error: JavaScript is required to show this page
Methinks that instead of typingbethanyanderson wrote: ↑Sun Sep 15, 2024 11:53 am I'll work to figure that out as I'm not aware of any sandbox stuff. ...
Code: Select all
<iframe>src="theurl.html"</iframe>
Code: Select all
<iframe sandbox="allow-scripts">src="theurl.html" sandbox></iframe>
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Fledgling
- Posts: 4
- Joined: Sat Sep 14, 2024 9:57 pm
Re: Google Calendar Error: JavaScript is required to show this page
I normally use Firefox.
What is Sandbox in this instance?
What is Sandbox in this instance?
- toivo
- Joomla! Master
- Posts: 17793
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Sydney, Australia
Re: Google Calendar Error: JavaScript is required to show this page
Firefox does not display the javascript error but Google Chrome, Microsoft Edge and Vivaldi display it:
It means the security restrictions in an iframe with untrusted content like scripts and forms. In practice this setting disallows javascript. Web developers regard iframes as insecure.
If you can edit the code that defines the <iframe> tag, try to remove the attribute sandbox="" and the calendar may start working.
You do not have the required permissions to view the files attached to this post.
Toivo Talikka, Global Moderator
-
- Joomla! Fledgling
- Posts: 4
- Joined: Sat Sep 14, 2024 9:57 pm
Re: Google Calendar Error: JavaScript is required to show this page
sandbox="" won't delete, it just comes back. It shows up automatically, even when I pull in fresh code from Google.
If I try to fill any values in the sandbox "", they are just erased.
I've used Google calendars for years like this on a few sites. I am unsure why it would have just started out the blue, unless I did an update of some sort and just can't recall.
So now I understand my problem better, I am still unable to solve it. Any additional advice is greatly appreciated.
If I try to fill any values in the sandbox "", they are just erased.
I've used Google calendars for years like this on a few sites. I am unsure why it would have just started out the blue, unless I did an update of some sort and just can't recall.
So now I understand my problem better, I am still unable to solve it. Any additional advice is greatly appreciated.
- toivo
- Joomla! Master
- Posts: 17793
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Sydney, Australia
Re: Google Calendar Error: JavaScript is required to show this page
Did you add the calendar code using a Joomla module or just the options in the paid Cacoon template? If the code was inserted into the template directly, are there any options to finetune the behaviour and accept scripts?
Toivo Talikka, Global Moderator
Advertisement