#!/bin/sh # This script lists user defined search engines in Chromium. # It replaces {inputEncoding}, which appears in some search engine definitions, with # UTF-8, {google:baseURL} with the Google URL, and omits other such tokens. # Location of Chromium's 'Web Data' SQLite3 file CHROMIUM_WEB_DATA="$HOME/.config/chromium/Default/Web Data" # Location to create temporary copy of 'Web Data', since the database is locked while # Chromium is running COPY=$(mktemp) cp "$CHROMIUM_WEB_DATA" "$COPY" sqlite3 <