Is there a setting in FireFox to allow the parent document access to the DOM of an IFRAME on another domain?

There is a way for unpriviledged JavaScript code (loaded from a web page) to request more privileges in Firefox. This is an old, non standard API that prompts the user for permission and if accepted allows the JavaScript to do things normal JavaScript cannot. One of these things is to bypass Same Origin Policy.

There is a way for unpriviledged JavaScript code (loaded from a web page) to request more privileges in Firefox. This is an old, non standard API that prompts the user for permission and if accepted allows the JavaScript to do things normal JavaScript cannot. One of these things is to bypass Same Origin Policy.

Sample code: try { // ask user for permission netscape.security. PrivilegeManager. EnablePrivilege('UniversalBrowserRead'); } catch (e) { // user refused permission alert('Permission "UniversalBrowserRead" was denied.'); } //Should now be capable of bypassing same origin policy if user accepted Since the kiosk browser does not restart (I suppose) very often, the dialog just has to be accepted once.

Not sure this is the most elegant solution but might work, at least for now (the API is old and might disappear). Here is a link for more details: http://www.mozilla.org/projects/security/components/signed-scripts.html#privs-list While looking for the exact privilege name I found this page about Security Policies in Firefox. This would be a much nicer solution.

I have never used it, so I cannot give more info, but here is the link, might be a good place to start looking: http://www.mozilla.org/projects/security/components/ConfigPolicy.html Hope this helps!

I found an addon called CrossDomain. The addon hasn't yet been updated for newer versions of Firefox. In the end, I solved this whole problem by writing an HTA and using the internet explorer rendering engine - which made my IT manager happy :).

Here is the link to CrossDomain in case this helps someone one day. Thank you everyone for your submissions. Https://addons.mozilla.Org/en-US/firefox/addon/13004.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions