The Computer Oracle

How to set up Firefox on Windows to ignore registry settings?

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Dreaming in Puzzles

--

Chapters
00:00 How To Set Up Firefox On Windows To Ignore Registry Settings?
00:26 Answer 1 Score 7
00:55 Answer 2 Score 1
01:15 Accepted Answer Score 1
02:00 Answer 4 Score 0
02:13 Answer 5 Score 0
03:21 Thank you

--

Full question
https://superuser.com/questions/8850/how...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#windows #firefox #security #windowsregistry

#avk47



ANSWER 1

Score 7


I don't know if there's an elegant solution to this, but you could go to the following keys:

[HKEY_CURRENT_USER\Software\Mozilla]
[HKEY_CURRENT_USER\Software\MozillaPlugins]
[HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla]
[HKEY_LOCAL_MACHINE\SOFTWARE\mozilla.org]
[HKEY_LOCAL_MACHINE\SOFTWARE\MozillaPlugins]

... and simply adjust the Security permissions on them with Everyone - Deny... that would effectively prevent FireFox from reading its own registry settings, and other applications from writing to them, also.

Not sure what effect this would have on firefox's operation, though.




ANSWER 2

Score 1


This doesn't directly answer your question, but if your ultimate goal is to prevent Firefox from modifying the registry you might consider running it in a sandbox. Sandboxie can run any application in a sandbox which prevents the program from modifying your registry or file system.




ACCEPTED ANSWER

Score 1


From the Mozilla help forum:

Firefox 3.6+ versions do prevent plugins from being installed to the \Program Files\Firefox\plugins folder to keep plugins out of Firefox, but that isn't how most plugins get "into Firefox". Firefox scans the Windows Registry for plugins that have the correct Registry key for Firefox, and uses those plugins from wherever thay are located on your hard drive. Once the program using that plugin is installed, and the Registry Key is set, all you can do is physically remove the plugin files or turn off the plugin in Tools > Addons > Plugins Sorry, I don't know how plugins are handled in Linux OS's. Impossible to prevent the programs you are installing from installing their plugins for Firefox. Once you give a program permission to install on your PC, it can do anything it wants with Firefox or any other program.




ANSWER 4

Score 0


Im not 100% sure but I think portable Firefox doesn't mess around with the computer files.

http://tr.im/q7kN




ANSWER 5

Score 0


UPDATE I just read that extensions.ini is not important at all and is automatically generated. So I guess I am wrong here, also given the [HKEY_LOCAL_MACHINE\SOFTWARE\MozillaPlugins] key as mentioned by @routeNpingme. I'll remove this later today; just leaving it here to ensure others don't waste their time on the same thing.


Given the fact that Firefox allows for using different profiles, each with their own extensions, I never thought that it would use the registry as well. (Firefox being cross-platform makes me even wonder more about that, especially as Firefox already has it own kind of cross-platform mechanism of storing settings.)

So unless you're sure it's in the registry, you might want to peek into the Files and folders in the profile, especially extensions.ini.

UPDATE

extensions.ini
Lists folders of installed extensions and themes.
The file is automatically generated by nsExtensionManager and is used by low-level code to detect chrome packages and XPCOM components provided by installed addons. Can be deleted to resolve various issues.

(See command line arguments to start Firefox with another profile.)