Solved

Delphi get chrome url

Posted on 2013-12-25
5
1,322 Views
Last Modified: 2014-01-26
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
Comment
Question by:johnnyex
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 27

Accepted Solution

by:
Sinisa Vuk earned 500 total points
ID: 39740681
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
 
LVL 27

Expert Comment

by:Sinisa Vuk
ID: 39745179
Similar discussion goes here too:
http://www.experts-exchange.com/Programming/Languages/Pascal/Q_28303647.html
I put this to link similar questions.
0
 

Author Comment

by:johnnyex
ID: 39778912
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
 

Author Comment

by:johnnyex
ID: 39783038
?
0
 
LVL 27

Expert Comment

by:Sinisa Vuk
ID: 39784118
My last point in this thread goes to use another (SNSS) files which are not locked.
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question