• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting browser history from Java

 
ritz Mohamed
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,
i just want to know wether can we get the browsing history from java.(from browsers include IE,Mozilla,opera).i cant able to get the history from temp folder.
thanks in advance.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think an Applet can do this directly. You should be able to call JavaScript to do it though. Any reason you want to do this from an Applet?
 
Paul Clapham
Sheriff
Posts: 20983
31
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was under the impression that browsers had restricted the ability of Javascript to access browsing history. The idea being that the Javascript on this page has no business knowing that I came to this page from... well, it's none of your business.
 
ritz Mohamed
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
am creating a employee monitor tool in that i want to get all url's which was visted by clients.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64718
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why don't you just sit at their desk and look at the browser history? After all, any "tool" you create using JavaScript or Java needs to be executed in their browser or on their system, so if you're going to physically gain access to their system, just look at the history.

Aren't there already network monitoring tools that you could use? Why re-invent the wheel?
 
ritz Mohamed
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
its a part of my final year project so only i need help on this sir
 
ritz Mohamed
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to achieve the following
Logs Browser activity and sends the Log to Server when it’s requested.
........................
people who really want to help me regarding this please post a reply.
if anybody want to give advices regarding this please send to my mail id.
i searched a lot regarding this.and i found code in C++.but i need to know wether this can be done in java
 
Paul Clapham
Sheriff
Posts: 20983
31
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's the wrong implementation for an employee monitoring tool. A better implementation would be to force the browser to connect via a proxy server, and have the proxy server log the URLs. Fishing through the browser history after the fact also has the flaw that the user can clear the history at any time, or use the new "private browsing" feature which is available in newer browsers which doesn't store URLs in a history file.
 
ritz Mohamed
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for your reply sir, ill try to know about proxys
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic