• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1525
  • Last Modified:

Delphi get chrome url

Hi,

I'm looking for solution to catch currently visited URL from Google Chrome 30.x version
Older methods no longer worked.

I have no problem with IE and FF (DDE)
But cannot handle Chrome, there was some method some time ago but worked only for 28 version and not for newer

Any advice? Does Google provide any api to make it reliable to catch URL visited?
Or maybe some trick to make it via history to take last visited somehow etc

I need delphi solution

Merry Xmas
0
johnnyex
Asked:
johnnyex
  • 3
  • 2
1 Solution
 
Sinisa VukCommented:
There is Sqlite database named History in these folders:

Windows Vista or later:
C:\Users\%USERNAME%\AppData\Local\Google\Chrome\User Data\Default\databases

Windows XP:
C:\Documents and Settings\%USERNAME%\Application Support\Google\Chrome\Default\databases


In table urls there is field url. Use some Sqlite units like mORMot framework and go into database. If you find other solution in another languages post here - maybe solution can be translated to delphi.
0
 
Sinisa VukCommented:
Similar discussion goes here too:
http://www.experts-exchange.com/Programming/Languages/Pascal/Q_28303647.html
I put this to link similar questions.
0
 
johnnyexAuthor Commented:
about sqlilite read file chrome browser need exclusive lock on the database file.
Theb there is problem with directly access the history file while browsing with the chrome browser even in read only mode, is there any delphi, or api function to workaround that?
0
 
johnnyexAuthor Commented:
?
0
 
Sinisa VukCommented:
My last point in this thread goes to use another (SNSS) files which are not locked.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now