This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes General Computing and the fly likes URL monitor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "URL monitor" Watch "URL monitor" New topic
Author

URL monitor

abalfazl hossein
Ranch Hand

Joined: Sep 06, 2007
Posts: 635
How to monitor what user writes on browser address bar and record it by JAVA?
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

You can't. It's a different program and you can't access it's memory.
Maybe you can write a plugin/extension or you can monitor the network for out going requests.
But I really doubt that that can be done in Java.


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
abalfazl hossein
Ranch Hand

Joined: Sep 06, 2007
Posts: 635
Which programming language can do that?
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

None. The operating system is in charge over memory management and will not allow you to read another programs memory. They go to great lengths to prevent this. The language of the plugin depends on the browser (I guess). What are you trying to accomplish? Because maybe we can suggest another solution.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 40052
    
  28
Sounds too difficult for "beginning Java". I shall move this, maybe to "general computing".
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: URL monitor