Win a copy of Rust Web Development this week in the Other Languages forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Getting browser history from Java

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Sheriff
Posts: 26951
83
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 67618
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 26951
83
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks for your reply sir, ill try to know about proxys
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic