I've been trying to automatically configure the Firefox to start with the custom extension, but with no success. The extension is working if I select the manif… (閱讀更多)
I've been trying to automatically configure the Firefox to start with the custom extension, but with no success. The extension is working if I select the manifest.json from the about:debugging temporary add button. Or when I try to upload the xpi file from my computer.
The environment that I'm currently working on is Linux with RedHat distribution 7.9.
I have he following configuration directories:
- Bulleted list item /usr/lib64/firefox/defaults/pref/autoconfig.js which contains the following properties(pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
- Bulleted list item /usr/lib64/firefox/firefox.cfg which contains the following properties:
The custom extensions is packed in an .xpi file which is located in /home/<user>/.mozilla/extensions/preventrightclick/preventrightclick.xpi
The content of the preventrightclick.xpi is in the images below.
I've tried multiple locations for this xpi in order to be automatically installed, such as: /usr/share/mozilla/extensions/preventrightclick/preventrightclick.xpi
Nothing worked, strange is that the extensions can be installed manually.
If you have any clues, or what could I try, please let me know. Thanks!