X
Tap here to go to the mobile version of the site.

Support Forum

Mozilla User Preferences

Posted

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

Additional System Details

Installed Plug-ins

  • Shockwave Flash 11.5 r502
  • Google Update
  • Adobe PDF Plug-In For Firefox and Netscape 10.1.5
  • RealJukebox Netscape Plugin
  • RealNetworks(tm) RealPlayer Chrome Background Extension Plug-In
  • RealPlayer(tm) HTML5VideoShim Plug-In
  • RealPlayer(tm) LiveConnect-Enabled Plug-In
  • RealPlayer Download Plugin
  • Yahoo Application State Plugin version 1.0.0.7
  • BrowserPlus -- Improve your browser! -- http://browserplus.yahoo.com/
  • The plug-in allows you to open and edit files using Microsoft Office applications
  • Office Authorization plug-in for NPAPI browsers
  • Adobe Shockwave for Director Netscape plug-in, version 11.0
  • Windows Presentation Foundation (WPF) plug-in for Mozilla browsers
  • Office Plugin for Netscape Navigator

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.0; rv:18.0) Gecko/20100101 Firefox/18.0

More Information

cor-el
  • Top 10 Contributor
  • Moderator
12752 solutions 117198 answers

Helpful Reply

See bug 546848 - Remove support for enablePrivilege

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

See [https://bugzilla.mozilla.org/show_bug.cgi?id=546848 bug 546848] - Remove support for enablePrivilege <i>(please do not comment in bug reports: [https://bugzilla.mozilla.org/page.cgi?id=etiquette.html])</i>

Question owner

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?

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?
cor-el
  • Top 10 Contributor
  • Moderator
12752 solutions 117198 answers

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

Helpful Reply

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

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
James
  • Top 25 Contributor
  • Moderator
701 solutions 5196 answers

The 567755 does exist at bugzilla.mozilla.org

The 567755 does exist at bugzilla.mozilla.org

Question owner

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.

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.