This project is archived and is in readonly mode.

#879 ✓invalid

Element.js: IFrame Cross Domain access violation

Reported by timK | April 12th, 2010 @ 01:22 PM


Just try to use the IFrame class and has encountered the security violation problem for both IE and FF browsers.
The documentation state: "If the IFrame is from a different domain, its window and document will not be extended with MooTools methods.", but the accessing will raise access violation for the Iframes from others domains.

I suppose to correct the behavior the 'host' test need to be changed:

  • if (!host || host == => if (host && host ==

  •’ inside the 'host' test .


Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket


Referenced by