Results 1 to 5 of 5

Thread: Read URL from a browser using Qt

  1. #1
    Join Date
    Jul 2007
    Posts
    166
    Thanks
    25
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Read URL from a browser using Qt

    Hi,
    I need to create a program using Qt, which one running in background, read the url from my browser.
    ie, the program is running allways. When I open my broser ( explorer or firefox ) and type the address http://www.qtforum.org/ , then the program read the address from the address bar and write it in a text file. I am trying to do this. But, how can I read the address from the address bar ?
    Please help me.

  2. #2
    Join Date
    Aug 2006
    Location
    Bangalore,India
    Posts
    419
    Thanks
    37
    Thanked 53 Times in 40 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Read URL from a browser using Qt

    Sorry, but is it a keylogger software ? Perhaps you have to use native operating system calls to achieve that.
    The biggest difference between time and space is that you can't reuse time.
    -- Merrick Furst

  3. #3
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Read URL from a browser using Qt

    Sorry for being off topic, but why on the earth would someone write such address anyway?
    J-P Nurmi

  4. #4
    Join Date
    Jul 2007
    Posts
    166
    Thanks
    25
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Read URL from a browser using Qt

    Hi,
    I want to check that, how many time a user open a site and what are they. For that, I try to create this program.
    If any idea please help me.

  5. #5
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Read URL from a browser using Qt

    Quote Originally Posted by jpn View Post
    Sorry for being off topic, but why on the earth would someone write such address anyway?
    To do some nasty things

    Quote Originally Posted by sabeesh View Post
    Hi,
    I want to check that, how many time a user open a site and what are they. For that, I try to create this program.
    If any idea please help me.
    I think you should use the firewall software for that. It doesn't matter what the user types into the address bar, it matters what is sent to the network, right?

Similar Threads

  1. How to read Raw Information from CD in MAC?
    By vishal.chauhan in forum General Programming
    Replies: 0
    Last Post: 10th July 2007, 12:26
  2. How to read CD with read?
    By vishal.chauhan in forum Qt Programming
    Replies: 6
    Last Post: 29th June 2007, 08:20
  3. Invoking a browser...???
    By deepusrp in forum Newbie
    Replies: 4
    Last Post: 12th June 2007, 17:32
  4. QIODevice read()
    By ShaChris23 in forum Newbie
    Replies: 1
    Last Post: 3rd May 2007, 00:29
  5. How a server can write "Hello" to a browser ?
    By probine in forum Qt Programming
    Replies: 2
    Last Post: 1st December 2006, 14:43

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.