Set Homepage for all users in Firefox

-1

I want to set the Firefox homepage for all user accounts to a specific webpage. When any user logs in and opens FireFox, I would like them to see a specific webpage. Is there any file or FF installer that will allow me to do this?

xited

Posted 2013-07-29T15:36:56.870

Reputation: 233

Follow the advice in the following question's accepted answer http://superuser.com/questions/472241/setting-homepage-in-firefox-only-on-first-opened-window?rq=1 otherwise use Javascript to do it by creating a simple add-on http://stackoverflow.com/questions/9524064/change-homepage-in-firefox-programatically you can also just replace the prefs.s with a batch file http://stackoverflow.com/questions/10043616/programmatically-set-the-default-homepage-for-mozilla-firefox

– Ramhound – 2013-07-29T16:07:55.347

Answers

0

I can provide a manual method for making sure all users have the same preferences, including the homepage (instructions made assuming you use Windows, but probably valid with a few tweaks on just any OS):

  1. In Firefox's menu (if you can't find this, use the Firefox button's options to enable the menu bar - it should make finding the option easier), go to ? > Troubleshooting information.

  2. In the first table, Application Basics, click on Show folder.

  3. You should be in the current profile's folder. Here you have all information about the user profile in various files, including download history and all sorts of other things. What you're looking for is prefs.js. Assuming the home page isn't set to the default about:home, then you should find a line that says user_pref("browser.startup.homepage", "http://site.com"); or something similar in this file. This is the line you need. Not that you actually need to look at the line.

  4. Decide which profile will be the "master" one (I'm not sure it changes anything, actually), and for every other user, browse to the equivalent folder. If you're not sure which one it is, log in as that user and use Troubleshooting information to be brought there.

  5. Making sure Firefox is not running, delete the prefs.js file of each non-master user and replace it with a symbolic link to the "master" profile. You might need to write down the right folders then do these changes from the administrator account.

    Making a symbolic link: (Assuming you use Windows)

    I personally highly recommend the much easier to use Link Shell Extension to do it all through right-click options, but you can use the command prompt to do it as well. I believe this guide should show you how to do it.

  6. When you are done deleting and replacing all prefs.js with symbolic links, effectively every change you make to Firefox's preferences (basically, anything that will appear in about:config) will always be reflected on every user, because they will all in fact refer to the same file.

I haven't tried the method, so I can't tell for sure, but there's a chance only the "master" account will be able to change preferences, and others won't have the permission to change the file. To change this, you'd need to log in to the "master" account (or probably any administrator account) and edit prefs.js's permissions (Right click > Properties > Security) (in Windows) so that every relevant account can edit it.

If you want to make sure not only the preferences, but all of Firefox is precisely the same on every user, you can do the same manipulation, but instead of linking prefs.js, you'll link the whole profile folder.

Ariane

Posted 2013-07-29T15:36:56.870

Reputation: 1 907

in step 5 you said to delete the prefs.js file of each non-master user and replace it with a symbolic link. I will have more than 100 users that might not even have profiles, as the local profile gets created when you log in to Windows for the first time. How do I ensure that Firefox will open on www.mysite.com when it is first run? – xited – 2013-08-07T17:23:21.400

Uuuuuhm... I'm stuck here. Best thing I can think of is find a way to have a batch file that would do the manipulations run each time a user is created... hopefully someone has a better idea. A quick Google search returns this, but I'm not sure I understand it all. Maybe you will. Apparently it's for setting the defaults for new user profiles by modifying the "Default" user. No idea if it'll apply to Firefox though. http://blogs.technet.com/b/deploymentguys/archive/2009/10/29/configuring-default-user-settings-full-update-for-windows-7-and-windows-server-2008-r2.aspx

– Ariane – 2013-08-08T08:21:02.437