Skip to content

Instantly share code, notes, and snippets.

@amotmot
amotmot / chrome.py
Created February 27, 2017 20:48 — forked from zweizeichen/chrome.py
Check your browsing history for sites using Cloudflare
import sqlite3
import tldextract
history_domains = set()
cf_domains = None
print("Loading domains from Chrome browsing history...")
# Copy history from ~/Library/Application Support/Google/Chrome/Default/History
conn = sqlite3.connect('History')