我正在和I一起工作。我知道如何通过更改注册表来更改主页或默认搜索引擎,但我不明白某些程序(例如,百度PC,搜索保护)如何更改新选项卡页的URL。主页仍然是唯一的,新的选项卡页不阅读主页
有人知道怎么做吗?
发布于 2014-04-10 12:25:23
要更改internet默认页面,必须更改路径HKEY_CURRENT_USER\Software\Microsoft\Internet资源管理器\Main中的键起始页
用这段代码来做这个
RegistryKey myKey = Registry.CurrentUser.OpenSubKey(@"Software\Microsoft\Internet Explorer\Main", true);
myKey.SetValue("Start Page", "www.google.com", RegistryValueKind.String);发布于 2014-08-06 09:13:55
您应该更改HKLM\Software\Microsoft\Internet Explorer\AboutURLs\Tabs注册表项。
RegistryKey myKey = Registry.LocalMachine.OpenSubKey(@"HKLM\Software\Microsoft\Internet Explorer\AboutURLs", true);
myKey.SetValue("Tabs", "www.YourURL.com", RegistryValueKind.String);https://stackoverflow.com/questions/22987249
复制相似问题