How to disable Chrome History Deletion ?


👤 Diwas Poudel    🕒 Jul 9 2022    📁 TECH

Google Chrome is a well-known and widely-used web browser these days. Chrome saves your browsing history along with your cache and cookies for easy access in the future. These will remain in the Chrome Browser for three months (or 90 days), after which Google Chrome will delete everything from the browser. This is how things are handled data by default in Google Chrome.

It's possible that some questions will pop into your head, such as "Why does Chrome keep deleting the history?" And the answer is that clearing your history is beneficial because it helps stop websites from tracking you, protects your personal information, contributes to the protection of your privacy, and boosts the performance of your device.

However, there are times when you would like to visit a page that you last visited approximately three months ago, but you are unable to locate it. So, you like to disable chrome history deletion. If so, Our tech room will assist you in disabling the automatic deletion of your Google Chrome history here.

Also read: Where is about config file in Google Chrome ?

First of all, let's look at where these histories are located in Google Chrome.

How to view your Google Chrome History?

You can view your Google Chrome History within the browser. So, here are the steps:

  1. Open Chrome Browser and Click on 3 dots at the top right corner.
  2. Click on History
  3. Again Click on History
History Records in Chrome
fig. History Records in Chrome

This will provide you with all your history recorded by Google Chrome.

Note that History Pages does not store Chrome pages that you have visited, such as chrome:/history, chrome:/version, chrome:/settings, and so on. Additionally, they do not store pages that you have visited while using the Incognito mode, nor do they store pages that you have previously deleted from your browsing history.

The database that stores the user's chrome browsing histories can be found in the user's profile folder; the path to it varies depending on the user's operating system and browser.

Also read: How to Find chrome extensions installed location?

In Windows

C:\Users\<username>\AppData\Local\Google\Chrome\User Data\Default

Replace <username> with your Current UserProfile. Inside default, you will find the History file which is the main History File of Chrome.

history-sqlite-database-chrome
fig. History SQLite database file

In Linux

/home/<username>/.config/google-chrome/Default

In Mac

/Users/<username>/Library/Application Support/Google/Chrome/Default

What happens if I disable Chrome History Deletion?

If you disable Chrome History Deletion then Chrome keeps the history as long as you want and this keeps increasing the size of History files. And you can delete them as your wise.

Please make the following changes before disabling Chrome History Deletion.

Disable Chrome History Deletion 

There are various methods let's look one by one.

Method 1: Using Registry 

This method only works with Windows. Making unintentional changes to the registry can also harm your computer. So make changes exactly as I am doing. Be careful and use it precisely.

The steps are as follows:

1  Press win  + R to open the run box and type regedit and press Enter.

This will open Registry Editor.

open registry editor in windows os
fig. Open Registry Editor

2 Navigate to HKEY_LOCAL_MACHINE > SOFTWARE > Policies in Registry.

or simply paste Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies in the Registry Search as shown below.

Navigate to Policy Folder in Registry
fig. Navigate to Policy Folder in Registry

3 If there is no Google folder inside Policies, then Right Click on Policies and Select New > Key and name it Google.

new-key-registry-for-Google-Chrome
fig. Create a new key
Change Name to Google Key
fig. Change name to Google 

4 Click on Google Folder and then navigate to right pan and right-click anywhere, and create a new DWORD(32

bit) value and name it AllowDeletingBrowserHistory with no spaces in between.

create-new-dword-32-value
fig. create-new-dword-32-value

 

5  Double click on AllowDeletingBrowserHistory and change the value to 0

set-value-to-0-for-Allow-Deleting-Browser-History
fig. set value = 0 for AllowDeletingBrowserHistory

6 Click on Ok.

Also, let's create and save the history of IncognitoMode as well.

7 Click on Google Folder and then navigate to right pan and right-click anywhere, and create a new DWORD(32 bit) value and name it IncognitoModeAvailability with no spaces in between.

8  Setting its Value data to 1.

Enable History records for incognito mode availiability
fig. Enable History records for incognito mode availability 

9 Click on Ok.

Method 2: Using Extension 

There are various chrome extension that helps to record your chrome history. One of the popular ones is the History Trends Unlimited extension.

Also read: How to clear Chrome Service Worker cache? 

History Trends Unlimited extension helps to keep your history forever. They do not save history records in the Google Database instead they create a local database on your computer and they regularly sync your chrome browsing history into the local database. So, it does not directly relate to Chrome History. 

history-trends-unlimited
fig. History Trends Unlimited Extension
Note that this extension does not replace Chrome's normal history behavior. Also note that your history is only stored locally, and none of it is ever transmitted over the network or made available to anyone else.

How to use  History Trends Unlimited ?

1 First, download History Trends Unlimited from this link.

2 Then log in to your account.

3 Then click on the History Trends Unlimited icon in the extension list.

4 Then you will see history in the new tab.

It offers a chart that is related to the top-visited sites based on history, the Visitation Count of the website and the web URL, and the Daily Visits. It presents the data in an interactive manner using pie charts and bars charts.

It records all the history and you can go to the Options page, there is labeled "Export History" where you can export all the history to your computer.

History Options History Trends Unlimited
fig. Export History options to download chrome history

Method 3: Saving the History Records  - Manual Method

Actually, Chrome history is located in Chrom User Profile Folder as we have mentioned earlier. For example, in windows history file is located in C:\Users\<username>\AppData\Local\Google\Chrome\User Data\Default and you can just copy it and save it in a separate location. And when you want the history of about 4 months old then you can just goto a backup of the history file which was created 4 months ago. Then you can view the file with browsing_history_view software which you can download from here.

browsignhistoryview Software to view browser history
fig. browsignhistoryview Software to view browser history

This is a manual and time-consuming process:)

Conclusion

In this way, we can disable chrome history deletion.

👊 MORE FROM OURTECHROOM 👊



Ourtechroom Main Logo
Hello and thank you for visiting Ourtechroom.com! We'll talk about everything from how to troubleshoot tech issues, to emerging technology, games, gadgets, and fun facts about technology.
Contact : ourtechroom777@gmail.com