Microsoft Edge是一种快速加载、安全且适用于常规 Web 浏览器的良好解决方案。Edge很好地保护了用户的隐私。(Edge takes care of the users’ privacy)话虽如此,在Windows 10(Windows 10)计算机上使用Microsoft Edge 网络(Microsoft Edge web)浏览器时,您还需要做更多的事情来获得更好的隐私。
Microsoft Edge 提供了一个选项,可在您关闭 Windows 10 PC 上的浏览器时自动清除浏览数据。(clear browsing data)它使您可以一次删除所有内容,并在每次打开它浏览互联网时获得几乎全新的浏览器。当您只浏览网上银行网站和其他一些私人网站来做一些特定的事情时,它会很方便。您可以使用此功能来使用常规窗口,而不是使用隐身(Incognito)或InPrivate模式。(InPrivate)
每当您浏览网页时,Windows 10 都会将您计算机上的网页副本存储在其缓存中,并以(Cache)浏览历史记录(Browsing History)的形式保存您访问过的网页的URL。此功能的优点是您可以检查您浏览过的内容。此功能的缺点是任何人都可以查看您访问过的网站。为了解决这个问题,有两种解决方案。首先(First),您可以选择隐身模式或隐私浏览模式(Incognito Mode or Private Browsing mode),或者您可以自动清除Edge Chromium浏览器或在退出时删除您的浏览历史记录——您可以通过Edge 设置(Edge Settings)或使用注册表(Registry)或组策略编辑器(Group Policy Editor)。
退出时删除 Edge(Delete Edge)浏览历史记录
要使Edge Chromium浏览器在退出时清除或删除您的浏览历史记录,请使用Edge设置:
- 启动边缘浏览器。
- 转到“设置和更多(Settings and more)”。
- 选择“设置(Settings)”>“隐私和服务(Privacy and services)”。
- 选择每次关闭浏览器时要清除的内容
- 选择每次关闭浏览器时要清除的内容
让我们详细看看这个。
启动 Microsoft Edge 浏览器。
转到位于浏览器窗口右上角的“设置和更多”菜单。(Settings and more)
单击菜单,选择“设置(Settings)”选项。
在打开的新窗口中,选择“隐私和服务(Privacy and services)”。
在右窗格中向下滚动到“清除浏览数据(Clear browsing data)”部分。
在这里,选择第二个标题 - '选择每次关闭浏览器时要清除的内容(Choose what to clear every time you close the browser)'。
要在关闭时删除或清除Edge的浏览历史记录,请将“(Edge)浏览历史记录(Browsing history)”的开关切换到“打开”位置。
启用后,Edge浏览器将配置为在退出时自动删除Microsoft Edge浏览历史记录。(Microsoft Edge)
就是这样!要测试它,您可以关闭浏览器并重新打开它以检查是否所有内容都已删除。现在,每次关闭Edge浏览器时,这些数据都会自动删除。
使用注册表编辑器
要在Edge(Edge)关闭时自动清除浏览数据,请使用注册表(Registry)按照以下步骤操作 -
- 在任务栏(Taskbar)搜索框中搜索regedit ,然后单击单个结果。
- 单击是(Yes)按钮。
- 在HKEY_LOCAL_MACHINE中导航到Microsoft。
- 右键单击Microsoft > New > Key。
- 将其命名为Edge。
- 右键单击Edge > New > Key。
- 将其命名为推荐(Recommended)。
- 右键单击“Recommended > New > DWORD (32-bit) Value。
- 将其命名为ClearBrowsingDataOnExit。
- 双击它并将值(Value)数据设置为1。
- 单击确定(OK)按钮。
打开注册表编辑器(Registry Editor)。接下来(Next),导航到以下路径-
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft
在这里,您必须创建两个密钥。为此,右键单击Microsoft并选择 New > Key。将其命名为 Edge。
然后,右键单击Edge键,选择 New > Key,并将其命名为 Recommended。
现在您必须在“ 推荐 (Recommended )”键中创建一个DWORD 值。(DWORD Value)为此,右键单击 Recommended > New > DWORD (32-bit) Value,并将其命名为 ClearBrowsingDataOnExit。
默认情况下,它带有 0 作为值(Value)数据。双击它,输入 1 作为数值数据,然后单击 确定 (OK )按钮。
同样,如果要在Edge自动退出时删除缓存的图像和文件,则必须创建一个DWORD 值(DWORD Value) ClearCachedImagesAndFilesOnExit 并将值数据设置为 1。如果您想保留浏览数据,可以打开ClearBrowsingDataOnExit,并将Value数据设置为 0。
使用组策略
如果您想通过本地组策略编辑器(Local Group Policy Editor)执行相同操作,则必须 下载 Edge(download Group Policy Templates for the Edge) 浏览器的组策略模板。
要在Edge使用(Edge)组策略(Group Policy)关闭时自动清除浏览数据,请按照以下步骤操作 -
- 按Win+R打开运行提示。
- 键入gpedit.msc并按Enter按钮。
- 导航到Microsoft Edge –计算机配置(Computer Configuration)中的默认设置(Microsoft Edge – Default Settings)。
- 双击Microsoft Edge 关闭时清除浏览数据(Clear browsing data when Microsoft Edge closes)设置。
- 选择启用(Enabled)选项。
- 单击确定(OK)按钮。
按Win+R,键入 gpedit.msc,然后按 Enter 按钮。接下来,导航到以下路径-
Computer Configuration > Administrative Templates > Classic Administrative Templates > Microsoft Edge - Default Settings
双击(Double-click)Microsoft Edge关闭 时清除浏览数据设置并选择启用 (Enabled )选项。
接下来,单击 确定 (OK )按钮以保存更改。
也可以在退出时删除缓存的图像和文件。为此,您必须启用 Microsoft Edge 关闭时清除缓存的图像和文件 (Clear cached images and files when Microsoft Edge closes )设置。
如果您不想在退出时清除浏览数据,请打开相同的设置,然后选择 未配置(Not Configured) 或 禁用(Disabled) 选项。
如果您使用此方案,则无需使用隐私(Private)浏览模式,继续使用普通模式。此外,您不必担心出于隐私原因手动删除浏览数据。
提示(TIP):您可以通过编辑 Windows 注册表使 Microsoft Edge 始终以 InPrivate 模式启动(make Microsoft Edge always start in InPrivate mode by editing the Windows Registry)。
How to automatically delete Microsoft Edge browsing history on exit
Microsoft Edge is a fast loading, secure, and a good solution for regular web browsers. Edge takes care of the users’ privacy very well. Having said that, you also need to do something more to get better privacy while using the Microsoft Edge web browser on Windows 10 computer.
Microsoft Edge offers an option to clear browsing data automatically when you close the browser on your Windows 10 PC. It lets you delete everything at once and get an almost fresh browser every time you open it to browse the internet. It is handy when you browse only internet banking sites and some other private sites to do something specific. Instead of using the Incognito or InPrivate mode, you can use this functionality to use the regular window.
Whenever you browse the web, Windows 10 stores a copy of the web page on your computer in its Cache as well as saves the URL of the web page you visited n the form of Browsing History. The advantage of this function is you can check what you have browsed. The disadvantage of this feature is anybody can check which sites you visited. To solve that problem, there are two solutions. First, you can opt for Incognito Mode or Private Browsing mode or you can automatically make Edge Chromium browser clear or delete your browsing history on exit – and you can do it via Edge Settings or by using the Registry or Group Policy Editor.
Delete Edge browsing history on exit
To make Edge Chromium browser clear or delete your browsing history on exit, using Edge settings:
- Launch the Edge browser.
- Go to ‘Settings and more‘.
- Choose ‘Settings‘ > ‘Privacy and services‘.
- Choose what to clear every time you close the browser
- Select what to clear every time you close the browser
Lets us look at this in detail.
Launch Microsoft Edge browser.
Go to ‘Settings and more‘ menu, residing in the upper-right corner of the browser window.
Click the menu, select ‘Settings‘ option.
In the new window that opens, choose ‘Privacy and services‘.
In the right pane scroll down to ‘Clear browsing data‘ section.
Here, choose the second heading – ‘Choose what to clear every time you close the browser‘.
To delete or clear the browsing history of Edge on close, toggle the switch for ‘Browsing history‘ to ‘On’ position.
When enabled, the Edge browser will be configured to automatically delete Microsoft Edge browsing history on exit.
That’s it! To test it, you can close your browser and re-open it to check whether everything is deleted or not. Now, every time you shut your Edge browser, this data will be removed automatically.
Using the Registry Editor
To automatically clear browsing data when Edge closes, using the Registry follow these steps-
- Search for regedit in the Taskbar search box and click the individual result.
- Click the Yes button.
- Navigate to Microsoft in HKEY_LOCAL_MACHINE.
- Right-click on Microsoft > New > Key.
- Name it as Edge.
- Right-click on Edge > New > Key.
- Name it as Recommended.
- Right-click on Recommended > New > DWORD (32-bit) Value.
- Name it as ClearBrowsingDataOnExit.
- Double-click on it and set the Value data as 1.
- Click the OK button.
Open Registry Editor. Next, navigate to the following path-
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft
Here you have to create two keys. For that, right-click on Microsoft and select New > Key. Name it as Edge.
Then, right-click on the Edge key, select New > Key, and name it as Recommended.
Now you have to create a DWORD Value inside the Recommended key. For that, right-click on the Recommended > New > DWORD (32-bit) Value, and name it as ClearBrowsingDataOnExit.
By default, it comes with 0 as the Value data. Double-click on it, enter 1 as the Value data and click the OK button.
Similarly, if you want to delete cached images and files when Edge exits automatically, you have to create a DWORD Value ClearCachedImagesAndFilesOnExit and set the Value data 1. In case you want to keep your browsing data, you can open the ClearBrowsingDataOnExit, and set the Value data as 0.
Using Group Policy
If you want to do the same via Local Group Policy Editor, you must download Group Policy Templates for the Edge browser.
To automatically clear browsing data when Edge closes using Group Policy, follow these steps-
- Press Win+R to open the Run prompt.
- Type gpedit.msc and press the Enter button.
- Navigate to Microsoft Edge – Default Settings in Computer Configuration.
- Double-click on the Clear browsing data when Microsoft Edge closes setting.
- Select the Enabled option.
- Click the OK button.
Press Win+R, type gpedit.msc, and press the Enter button. Next, navigate to the following path-
Computer Configuration > Administrative Templates > Classic Administrative Templates > Microsoft Edge - Default Settings
Double-click on the Clear browsing data when Microsoft Edge closes setting and select the Enabled option.
Next, click the OK button to save the change.
It is also possible to delete cached images and files on exit. For that, you have to enable the Clear cached images and files when Microsoft Edge closes setting.
In case you do not want to clear the browsing data on exit, open the same setting, and choose either Not Configured or the Disabled option.
If you use this solution, you need not use the Private browsing mode and keep using the normal mode. Also, you do not have to worry about deleting browsing data manually for privacy reasons.
TIP: You can make Microsoft Edge always start in InPrivate mode by editing the Windows Registry.