如何在VB代码中更改Firefox主页 [英] How Do I Change Firefox Homepage In VB Code
问题描述
我想通过运行EXE文件来更改firefox浏览器的url主页
是可能的
如果你想改变Firefox的主页形式,用户的电脑,你必须编辑 prefs.js
文件并创建一个新行,如 user_pref(browser.startup.homepage,http://www.example.com/);
/ p>
请注意,如果有多个 browser.startup.homepage
条目,则每个条目将在浏览器启动,并且修改必须在Firefox关闭时完成,否则更改将会丢失。
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
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.
这篇关于如何在VB代码中更改Firefox主页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!