I would like to retrieve the datetime of each history entry, to find an history at a specified datetime. But the history has no information about datetime.
Is it possible to have that in the data files, for instance ? Where and how the history is stored ?
From what I see the onboard-browser´s history entries are grouped on a per day basis (under each date all sites that were opened at that day are listed - or is that only true for the recent part?)
Not exactly what you asked for… but you could try search terms and maybe that limits the entries to an extent that allows you to find the entry that you are looking for with much less scrolling (?)
do you have adb root in a community build? then you can pull the foundation.e.browser sqlite db from its data directory and query that one. There used to be a content query provider by chrome to do this more easily from the regular adb shell, but that got deprecated long ago.
version string more telling than build string for adb root option (it’s 1-2 lines down from enabling adb in dev settings). The “user” build type is spoofed in community builds too.
Anyway, this is the pull and query:
adb pull /data/data/foundation.e.browser/app_chrome/Default/History
echo "select u.url,datetime(v.visit_time / 1000000 + (strftime('%s', '1601-01-01')), 'unixepoch', 'localtime') from urls u inner join visits v on v.url=u.id;" | sqlite3 History