We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Enable privileged code by default. Firefox >= 22

  • 3 réponses
  • 3 ont ce problème
  • 3 vues
  • Dernière réponse par cor-el

more options

Shortly: How can I enable privileged code by default (in Firefox 22, or newer)? Since it is only for local purposes on several computers in laboratory - I can edit any Firefox files.

In case of questions "why?" or answers unrelated to Firefox: I am using some privileged code from normal website (opened locally from file on local computers only) and since netscape.security.PrivilegeManager.enablePrivilege vanished from Firefox I cannot run privileged code from normal content after versions 17. I need to enable some features like drawWindow and file access from normal page by default. I use scripts that allow user (in laboratory on lab computers) to enter normal websites, collect data about user activities, log what was clicked, than take screenshots of webpage after action, than save pictures to hard drive. Users are essentially testing given webpages - UX tests and Firefox greatly help(ed?) with such tests.

But I really do not have such possibilities like rewrite everything to plugins or take screenshots manually or from something like Greasemonkey. Other options like camera or software to record screen are also not possible.

Thanks in advance.

Shortly: How can I enable privileged code by default (in Firefox 22, or newer)? Since it is only for local purposes on several computers in laboratory - I can edit any Firefox files. In case of questions "why?" or answers unrelated to Firefox: I am using some privileged code from normal website (opened locally from file on local computers only) and since netscape.security.PrivilegeManager.enablePrivilege vanished from Firefox I cannot run privileged code from normal content after versions 17. I need to enable some features like drawWindow and file access from normal page by default. I use scripts that allow user (in laboratory on lab computers) to enter normal websites, collect data about user activities, log what was clicked, than take screenshots of webpage after action, than save pictures to hard drive. Users are essentially testing given webpages - UX tests and Firefox greatly help(ed?) with such tests. But I really do not have such possibilities like rewrite everything to plugins or take screenshots manually or from something like Greasemonkey. Other options like camera or software to record screen are also not possible. Thanks in advance.

Modifié le par BeoFF

Solution choisie

That is not meant as humor, but meant to be taken quite seriously.
If someone on internet would ask you to create a pref with this name then you most likely wouldn't do this.

Lire cette réponse dans son contexte 👍 0

Toutes les réponses (3)

more options

Firefox 19+ versions still have support for this and hide it behind a pref with a long name:

(Fx 18-: security.enablePrivilege.enable_for_tests)

more options

Looks like some of the Mozilla developers have a wry sense of humor.

more options

Solution choisie

That is not meant as humor, but meant to be taken quite seriously.
If someone on internet would ask you to create a pref with this name then you most likely wouldn't do this.