Link to home
Start Free TrialLog in
Avatar of splram
splram

asked on

How do I track addresses typed in browser using delphi????

Hi

I would be interested in knowing,http request details given from a browser. To be more clear, I would like to run an invisible program that would track what addresses are referred using the browser. If any one can give me a hint on doing so in Delphi I will be very greatful.

Thanks in advance
Y.Rammohan
email:yadavalli.rammohan@intelligroup.co.in

ASKER CERTIFIED SOLUTION
Avatar of Epsylon
Epsylon

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You might find the following ode of use to you.  When called it returns the Web URL and the Page Title that Internet Explorer is on.

Ensure to have DDEMan in the USES Clause.

function GetCurrentURL(Service: string): String;
var
   ClDDE: TDDEClientConv;
   temp:PChar;
begin
  Result := '';
  ClDDE:= TDDEClientConv.Create( nil );
  with ClDDE do
  begin
    SetLink(Service,'WWW_GetWindowInfo');
    temp := RequestData('0xFFFFFFFF');
    Result := StrPas(temp);
    StrDispose(temp);
    CloseLink;
  end;
  ClDDE.Free;
end;

Hope this helps
Avatar of Russell Libby
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

To accept Epsylon's comment as answer

Notes:
The Browser Helper Object from this site performs the desired functionality asked for in this question.

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Thank you,
Russell

EE Cleanup Volunteer