Solved

Delphi get chrome url

Posted on 2013-12-25
5
1,354 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

This is about my first experience with programming Arduino.
What do responsible coders do? They don't take detrimental shortcuts. They do take reasonable security precautions, create important automation, implement sufficient logging, fix things they break, and care about users.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Progress
Suggested Courses

626 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