-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
com_wrapper iframeHeight function blocked. #19337
Comments
Try #18916 Although I think this code will never execute for different domains due to browsers restrictions |
This is for Joomla 3. Try this #19136. |
Yes - the issue is that the approach of trying to execute a JS function in the main window from inside an iframe is that it breaks cross-site security rules and is blocked. So #19136 will not work for this reason (though it also has another issue - I have tested it and reported a js error). |
There is nothing we can do for this, this is something that users need to understand and enable the script (auto height) only for domains they control |
My point is that this concept needs to be withdrawn from Joomla - Joomla should not be using inappropriate functionality nor creating error messages in the JS console. |
This functionality is totally fine for the same or domains that you might have control. |
|
As stated by @dgrammatiko this is beyond our control and the option and its limits are described correctly - please close - if I have misunderstood something it can always be reopened |
Set to "closed" on behalf of @Quy by The JTracker Application at issues.joomla.org/joomla-cms/19337 |
Steps to reproduce the issue
Use com_wrapper to put an iframe in a module.
Expected result
No js console errors
Actual result
In Chrome:
System information (as much as possible)
Joomla 3.8.3.
Chrome 64-bit v63.0.3239.84 on Windows 10 Pro 64-bit 1709.
Additional comments
The html causing the issue is:
and it is the call to the iframeHeight js function in the main site from inside an iframe that appears to be the cause of the error.
The text was updated successfully, but these errors were encountered: