SafariKeywordSearchLegacy icon indicating copy to clipboard operation
SafariKeywordSearchLegacy copied to clipboard

Import from Chrome

Open kkaefer opened this issue 8 years ago • 0 comments

Here's a handy one-liner that allows you to export Google Chrome's search engines in a format that is compatible with this extension:

sqlite3 ~/Library/Application\ Support/Google/Chrome/Default/Web\ Data \
    "SELECT '{' || GROUP_CONCAT('\"' || keyword || '\":\"' ||
    REPLACE(url, '{searchTerms}', '@@@') || '\"') || '}' from keywords" | pbcopy

This automatically copies the JSON data into the clipboard. Now you just need to paste this into the import field in the popup.

kkaefer avatar Aug 12 '16 16:08 kkaefer