Avatar of boycoder
boycoder

asked on 

how to view "browser history" for google chrome, firefox/mozzila, I.E and orprea stored on PC using delphi?

as title says, to read and show all browser history on delphi message.
button showing show my history >>  then shows all history from all browsers with text scroll.

option to also delete history on all browsers if required.
delphi..  snippet would be great 10.12pm and real tired :)
Web BrowsersDelphi

Avatar of undefined
Last Comment
Emmanuel PASQUIER
Avatar of Emmanuel PASQUIER
Emmanuel PASQUIER
Flag of France image

for IE, if I remember correctly you can do it accessing the WebBrowser component using COM interface.
But since this is a not too easy task, I recommend you look at this
http://bsalsa.com/DP/download.php?file=0

which is an enhanced version of Embedded WebBrowser, and provides tons of delphi functions to help your applications interact with IE. I suppose there is something about History in there
or better yet, by the same author :
http://www.bsalsa.com/history_url.html
while I'm still looking for other browsers, I found this. Not what you asked (bookmarks, not history), but hey that could be useful too, or give ideas (like it says FireFox uses sqllite to store bookmarks, it might be interesting to investigate what it might store in sqllite DB as well)

http://stackoverflow.com/questions/1174490/how-to-get-firefox-bookmarks-from-a-delphi-application
ok, a little deeper for FireFox :
http://stackoverflow.com/questions/54036/programmatically-access-browser-history
which links somewhere to this :
http://www.forensicsblog.net/?p=5

that covers it nicely, you know what to dig for : a SQLite component set for Delphi
http://stackoverflow.com/questions/850435/delphi-components-to-use-with-sqlite
and then start playing
Avatar of boycoder
boycoder

ASKER

super will check this out
ASKER CERTIFIED SOLUTION
Avatar of systan
systan
Flag of Philippines image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
ok, I would have thought this question being much more complex than those few lines. And the multitude of coders who have lost their hairs with that problem too..

Can anyone tell me what reference documentation backup that code ?
I get it that it does not retrieve the History (which was the question) but must run constantly to monitor the URLs used ? how it works ? Are you sure that it works the same on all 3 browsers ?
Since it's based on a timer, that does not looks like a consistent solution....
Avatar of systan
systan
Flag of Philippines image

epasquier,
probably thats what he meant,

thanks
probably thats what he meant

Open in new window

That is not the real issue, there are often such validated answers which are not answering really the question asked, either because the question was not well described in the first place, or because at one point the asker changed direction. I don't care really.

What I'd like to know, is an explanation of that solution, because I don't see how it works, by the look of it it has been written by an italian or spanish, and if you cannot explain how it works, you should at least have linked to where you found that code.
Delphi
Delphi

Delphi is the most powerful Object Pascal IDE and component library for cross-platform Native App Development with flexible Cloud services and broad IoT connectivity. It provides powerful VCL controls for Windows 10 and enables FMX development for Windows, Mac and Mobile. Delphi is your choice for ultrafast Enterprise Strong Development™. Look for increased memory for large projects, extended multi-monitor support, improved Object Inspector and much more. Delphi is 5x faster for development and deployment across multiple desktop, mobile, cloud and database platforms including 32-bit and 64-bit Windows 10.

60K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo