Programmatically access the Google Chrome Home or Start page

前端 未结 3 1878
终归单人心
终归单人心 2020-12-01 06:51

Where does Chrome save the Home or Start page URL? I want to access it programmatically using C#.

3条回答
  •  一个人的身影
    2020-12-01 07:08

    On Windows 7 (and I guess Vista) with a default install it's stored in the file:

    %USERPROFILE%\AppData\Local\Google\User Data\Default\Preferences

    On Windows 2003 (and XP):

    %USERPROFILE%\Local Settings\Application Data\Google\Chrome\User Data\Default\Preferences

    The property name to look for is: homepage.

提交回复
热议问题