Thread: Retrieving Browser Data

  1. #1
    Registered User
    Join Date
    Jan 2007
    Posts
    16

    Retrieving Browser Data

    I am trying to build software that collects data from my currently running browser windows, so I can display it elsewhere.

    For instance, I want to be able to collect the URL to the webpage I am currently viewing. Is this possible with the windows API?
    I want my program to loop and check if I am currently visiting a certain website, and if I am, I want it to collect information from this site.

    Perhaps there is an efficient way of monitoring my outgoing packets, check for HTML packets and see if any of them request things from a certain webpage?

    Tried googling it but I am not sure what to search for...



    Thanks in advance.
    Last edited by Siphon; 04-07-2008 at 05:17 AM.

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    A firewall/proxy server would be able to retrieve this sort of data via the packet data sent/returned. I expect you won't find much info about how to what you originally ask for tho', as that's exactly what spyware is trying to do [amongst other things, of course].

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    May I suggest writing a browser plugin for that?
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Retrieving Data from DLL
    By JJFMJR in forum C++ Programming
    Replies: 11
    Last Post: 08-18-2008, 07:44 AM
  2. problem with data in allocated memory
    By supi in forum C Programming
    Replies: 3
    Last Post: 06-09-2008, 02:06 AM
  3. Where's the EPIPE signal?
    By marc.andrysco in forum Networking/Device Communication
    Replies: 0
    Last Post: 12-23-2006, 08:04 PM
  4. C diamonds and perls :°)
    By Carlos in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 05-16-2003, 10:19 PM
  5. gcc problem
    By bjdea1 in forum Linux Programming
    Replies: 13
    Last Post: 04-29-2002, 06:51 PM