Установить домашнюю страницу для всех пользователей в Firefox

2759
xited

Я хочу установить домашнюю страницу Firefox для всех учетных записей пользователей на определенную веб-страницу. Когда любой пользователь входит в систему и открывает FireFox, я бы хотел, чтобы он увидел определенную веб-страницу. Есть ли файл или установщик FF, который позволит мне сделать это?

-1
Следуйте советам в ответе на следующий вопрос http://superuser.com/questions/472241/setting-homepage-in-firefox-only-on-first-opened-window?rq=1, в противном случае используйте Javascript, чтобы создать его, создав простое дополнение http://stackoverflow.com/questions/9524064/change-homepage-in-firefox-programatics, вы также можете просто заменить prefs.s на командный файл http://stackoverflow.com/questions/10043616 / по-умолчанию-сайт-для-MOZILLA-светлячок программно-зор- Ramhound 10 лет назад 0

1 ответ на вопрос

0
Ariane

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.

на шаге 5 вы сказали удалить файл prefs.js каждого неосновного пользователя и заменить его символической ссылкой. У меня будет более 100 пользователей, которые могут даже не иметь профилей, поскольку локальный профиль создается при первом входе в Windows. Как мне убедиться, что Firefox откроется на www.mysite.com при первом запуске? xited 10 лет назад 0
Ууууу ... Я застрял здесь. Лучшее, что я могу придумать, - это найти способ получить командный файл, который бы выполнял манипуляции при каждом создании пользователя ... надеюсь, у кого-то есть идея получше. Быстрый поиск в Google возвращает это, но я не уверен, что все понимаю. Может быть, вы будете. Очевидно, это для установки значений по умолчанию для новых профилей пользователей путем изменения пользователя по умолчанию. Не знаю, применимо ли это к Firefox. 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 10 лет назад 0

Похожие вопросы