6.0.0-beta1
8/9/25

[#14492] There is a problem with embed calendar from horde using generated javascript code.
Summary There is a problem with embed calendar from horde using generated javascript code.
Queue Kronolith
Queue Version 4.2.2
Type Bug
State No Feedback
Priority 1. Low
Owners
Requester admin (at) madkom (dot) pl
Created 10/20/2016 (3215 days ago)
Due 10/20/2016 (3215 days ago)
Updated 11/05/2016 (3199 days ago)
Assigned 10/21/2016 (3214 days ago)
Resolved 11/05/2016 (3199 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
11/05/2016 12:52:00 AM Michael Rubinsky State ⇒ No Feedback
 
10/21/2016 03:35:09 PM Michael Rubinsky Comment #2
State ⇒ Feedback
Reply to this comment
What browser is this? I can't reproduce.

I.e., see mrubinsk.blogspot.com for an example of a kronolith calendar 
displaying fine from my personal domain.
10/20/2016 08:24:01 AM admin (at) madkom (dot) pl Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Kronolith
Due ⇒ 10/20/2016
Summary ⇒ There is a problem with embed calendar from horde using generated javascript code.
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
There is a problem with embed calendar from horde using generated 
javascript code. Since web browsers implemented "Blocking the load of 
cross-origin, parser-blocking scripts inserted via document.write in 
the main frame? on slow networks we have got the following errors:

A Parser-blocking, cross-origin script, 
http://horde.something.pl/horde/js/prototype.js, is invoked via 
document.write. This may be blocked by the browser if the device has 
poor network connectivity.
embed?token=orqlGpq11UGPddSMPIucwA8&calendar=internal_aB6L3ktKWt3jNzaUgbtJuQ1&container=kronolithCa?:7
A Parser-blocking, cross-origin script, 
http://horde.something.pl/horde/js/tooltips.js, is invoked via 
document.write. This may be blocked by the browser if the device has 
poor network connectivity.
embed?token=orqlGpq11UGPddSMPIucwA8&calendar=internal_aB6L3ktKWt3jNzaUgbtJuQ1&container=kronolithCa?:11
A Parser-blocking, cross-origin script, 
http://horde.something.pl/horde/kronolith/js/embed.js, is invoked via 
document.write. This may be blocked by the browser if the device has 
poor network connectivity.

The solution may be to load scripts asynchronously using 
<!--a75c305b1c0a6022--><script src="..." async> or 
element.appendChild().

We noticed that the newest version of horde still have the problem.

Saved Queries