Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Mozilla User Preferences

  • 6 replies
  • 1 has this problem
  • 1 view
  • Last reply by Raed1984

more options

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");

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");

Chosen solution

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.
Read this answer in context 👍 0

All Replies (6)

more options

See bug 546848 - Remove support for enablePrivilege

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

more options

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?

more options

Chosen Solution

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.
more options

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

more options

The 567755 does exist at bugzilla.mozilla.org

more options

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.