How Do I Change Firefox Homepage In VB Code

2019-09-21 14:14发布

How Do I Change Firefox Homepage In VB2011 Code

I want to change the url homepage of the firefox browser by running that EXE file

is this possible

1条回答
Deceive 欺骗
2楼-- · 2019-09-21 14:41

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.

查看更多
登录 后发表回答