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

Preference API by Firefox

  • 4 replies
  • 2 have this problem
  • 10 views
  • Last reply by cor-el

more options

Hi Mozilla Firefox Team,

As my project is using indexDB, it doesn't load in Firefox Private Mode. Can you help me on how I can access & change "dom.indexedDB.privateBrowsing.enabled" config value from JavaScript code. Before there use to be a Preference API by Firefox, but now when I go to that link it displays 'page not found'

All Replies (4)

more options

Hi

Is this in a desktop copy of Firefox?

more options

Hi thanks for replying,

Yes its in Desktop copy of Firefox Private(Incognito) Window. Website loading fails when indexDB comes into use in Private(Incognito) Mode. If there is any way to toggle value of dom.indexedDB.privateBrowsing.enabled config of Firefox Private Window via JavaScript code then it would be helpful.

more options

Hello...Anyone have a solution for this issue?

more options

This requires running privileged JavaScript code via the Browser Console, so you can't do this via JavaScript running in an extension or on a webpage if that is your intention.