如何在VB代码中更改Firefox主页 [英] How Do I Change Firefox Homepage In VB Code

查看:180
本文介绍了如何在VB代码中更改Firefox主页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在VB2011代码中更改Firefox主页



我想通过运行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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆