gpt4 book ai didi

c# - 更改 Internet Explorer 新标签页的默认 url

转载 作者:太空宇宙 更新时间:2023-11-03 13:24:13 24 4
gpt4 key购买 nike

我正在使用 Internet Explorer。我知道如何通过更改注册表来更改主页或默认搜索引擎,但我不明白某些程序(例如 Baidu PC FasterSearch Protect)如何更改新标签页的 URL。首页保持唯一,新标签页不读取首页

有人知道怎么做吗?

最佳答案

要更改 Internet Explorer 默认页面,您必须更改路径 HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main 中的键 [Start Page]

使用这段代码来做到这一点

        RegistryKey myKey = Registry.CurrentUser.OpenSubKey(@"Software\Microsoft\Internet Explorer\Main", true);
myKey.SetValue("Start Page", "www.google.com", RegistryValueKind.String);

关于c# - 更改 Internet Explorer 新标签页的默认 url,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22987249/

24 4 0