Skip to content

my-gitty/delete-chrome-history

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deleting specific websites from Google Chrome

Introduction

Google Chrome doesn't give you an option of deleting specific websites from the history. In order to delete a specific website, I created a simple package.

Installation

To install the package, use pip:

pip install delete-chrome-history-py

Usage

# Import the necessary modules
from os.path import expanduser
from chrome_delete import delete_history

# Provide the full Chrome DB Location
home = expanduser("~")
chrome_db = ".config/google-chrome/Default/History"
full_db_location = home + chrome_db

# Provide the website you want to delete
website_to_be_deleted = "github"

# Call the function
delete_history(full_db_location, website_to_be_deleted)

About

Delete specific websites from Google Chrome using Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%