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

Chosen solution

by cor-el

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

Helpful replies

See bug 546848 - Remove support for enablePrivilege

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

Go to answer 2

The 567755 does exist at bugzilla.mozilla.org

Go to answer 2
Post a Reply

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
8266 solutions 78256 answers
Posted

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)

Was this helpful to you? 2
Reply
Posted

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?

Was this helpful to you?
Reply
cor-el
  • Top 10 Contributor
  • Moderator
8266 solutions 78256 answers
Posted

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.
Was this helpful to you?
Reply
Posted

Question owner

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

Was this helpful to you?
Reply
James
  • Top 25 Contributor
  • Moderator
315 solutions 2286 answers
Posted

Helpful Reply

The 567755 does exist at bugzilla.mozilla.org

Was this helpful to you? 2
Reply
Posted

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.

Was this helpful to you? 0
Reply

Post a Reply

You must log in to your account to reply to posts.

Don't have an account? You can create a free account now.