Chrome的“设置”数据在Win Explorer中的位置是什么?

问题描述 投票:1回答:1

[我有以下脚本,在使用chrome时将google的垃圾从窗口中转出(这只是部分脚本):

For Each f In FSO.GetFolder("C:\Users\Owner\AppData\Local\Google\Chrome\User Data\Default").Files
   If FSO.FileExists(f) Then
      if f.name<>"Bookmarks" and f.name<>"Preferences" and f.name<>"Login Data" then
         FSO.DeleteFile f
      end if
   end if
next

msgbox "All tracking data in chrome has been deleted!"

该脚本也有更多功能,在该代码之上还有更多功能可删除“默认”配置文件文件夹中的特定目录。但是有人知道Google的个人资料设置位于何处吗?没有文件或目录指示明显的书签和自动填充数据。谢谢!

windows google-chrome vbscript explorer wsh
1个回答
0
投票

有人知道Google的个人资料设置位于何处吗?

AFAIK,它本身不是'setting',而是内部GetDefaultUserDataDirectory() function]的计算值>

在Windows上,默认为:%LOCALAPPDATA%\Google\Chrome\User Data directory location

但是,可以使用chrome.exe --user-data-dir=c:\foo command-line startup flag覆盖它>

在Google Chrome浏览器中,您可以通过访问chrome://version URL]检查并确认位置>

希望此信息有帮助。

© www.soinside.com 2019 - 2024. All rights reserved.