If you want to change the Firefox's home page form a program running on the user's computer, you have to edit the prefs.js
file and create a new line like user_pref("browser.startup.homepage", "http://www.example.com/");
.
Beware that if there are multiple browser.startup.homepage
entries every entry will be opened in a new tab when the browser starts up, and that the modification must be done when Firefox is closed, otherwise the changes will be lost.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…