cancel
Showing results for 
Search instead for 
Did you mean: 

Mozilla User Preferences

SOLVED
Highlighted
New Contributor

Mozilla User Preferences

Hi, I have problem with Mozilla User Preferences , I added three Preferences shown below to Mozilla 2.0 and its work but with new Mozilla version dose not work, so can you help me ?

user_pref("capability.policy.default.Window.getPublicInterface.get", "allAccess"); user_pref("capability.policy.default.Window.getPublicInterface.set", "sameOrigin"); user_pref("capability.policy.default.XMLHttpRequest.open", "allAccess");

1 ACCEPTED SOLUTION

Accepted Solutions
Site Moderator

Re: Mozilla User Preferences

I don't think that it is still possible to use CAPS this way to block access to elements.

  • Bug 567755 - Disabling javascript Date() function with CAPS doesn't work.
6 REPLIES
Site Moderator

Re: Mozilla User Preferences

See bug 546848 - Remove support for enablePrivilege

(please do not comment in bug reports: https://bugzilla.mozilla.org/page.cgi?id=etiquette.html)

New Contributor

Re: Mozilla User Preferences

Thank you so much for your reply, what I understood from your answer that these Preferences dose not work any more with new Mozilla versions, is that right ? do you know what should I use in stead of these 3 preferences?

Site Moderator

Re: Mozilla User Preferences

I don't think that it is still possible to use CAPS this way to block access to elements.

  • Bug 567755 - Disabling javascript Date() function with CAPS doesn't work.
New Contributor

Re: Mozilla User Preferences

I could not find Bug 567755, anyway do you know what should I use instead of these 3 Preferences above to allow cross domain access

Site Moderator

Re: Mozilla User Preferences

The 567755 does exist at bugzilla.mozilla.org

New Contributor

Re: Mozilla User Preferences

Thank you for you answer, in fact I develped web Mashup using OMash method as you can see in this paper (http://dl.acm.org/citation.cfm?id=1455784) and it is work with Mozilla 2.0 but unfurtuntally did not work with new Mozilla versions because the CAPS as you informed me dose not work any more, could you please help me by inform me what should I use preferences in stead of these 3 preferences above to allow cross domain access.