I want to check last hour browser history on the local machine using a java program. So is there any way around to so that?
Thanks and regards,
Vivek Birdi.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You’re probably going to have to do a bit of checking for the individual browsers as they store the history data in different ways, and even in terms of the same browser there is going to be platform dependent code.
Firefox (perhaps the easiest browser to accomplish this task for) for instance stores the history in a sqlite3 file called places.sqlite, so by using the JDBC Sqlite driver you should be able to access it. (The format is fairly well documented and Sqlite on Java is as well).
For the others it is a matter of researching where and what format they store the history in and writing code to access it.
You’re then going to have to build a table of all accesses in the last hour, because it is going to be impossible to know without probing what browser the user uses.