Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Caputre url change event

Caputre url change event

Scheduled Pinned Locked Moved C / C++ / MFC
jsonquestion
6 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Rajmohan SK
    wrote on last edited by
    #1

    Can any body tell What is the best approach by which I can capture the URL change event in IE and Firefox. I read about API hook. Is it the best approach or any other alternative is there.Thanks in advance

    Regards Rajmohan

    D K _ T 4 Replies Last reply
    0
    • R Rajmohan SK

      Can any body tell What is the best approach by which I can capture the URL change event in IE and Firefox. I read about API hook. Is it the best approach or any other alternative is there.Thanks in advance

      Regards Rajmohan

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      I would think a Browser Helper Object (BHO) would be a more suitable choice.

      "One man's wage rise is another man's price increase." - Harold Wilson

      "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

      "Man who follows car will be exhausted." - Confucius

      1 Reply Last reply
      0
      • R Rajmohan SK

        Can any body tell What is the best approach by which I can capture the URL change event in IE and Firefox. I read about API hook. Is it the best approach or any other alternative is there.Thanks in advance

        Regards Rajmohan

        K Offline
        K Offline
        kawayi
        wrote on last edited by
        #3

        I think it is a good way,I hope you can do it and show the source code to us

        1 Reply Last reply
        0
        • R Rajmohan SK

          Can any body tell What is the best approach by which I can capture the URL change event in IE and Firefox. I read about API hook. Is it the best approach or any other alternative is there.Thanks in advance

          Regards Rajmohan

          _ Offline
          _ Offline
          _Superman_
          wrote on last edited by
          #4

          As David said, it is best to write a browser extension so that you capture such events. But using this approach, each browser will need a different extension. A Browser Helper Object (BHO) will only work for IE. Firefox uses an XML/Javascript/XPCom based extension. Other browsers may be different.

          «_Superman_» I love work. It gives me something to do between weekends.
          Microsoft MVP (Visual C++)

          R 1 Reply Last reply
          0
          • _ _Superman_

            As David said, it is best to write a browser extension so that you capture such events. But using this approach, each browser will need a different extension. A Browser Helper Object (BHO) will only work for IE. Firefox uses an XML/Javascript/XPCom based extension. Other browsers may be different.

            «_Superman_» I love work. It gives me something to do between weekends.
            Microsoft MVP (Visual C++)

            R Offline
            R Offline
            Rajmohan SK
            wrote on last edited by
            #5

            Thank you so much for your replies. I will try this and let you know

            Regards Rajmohan

            1 Reply Last reply
            0
            • R Rajmohan SK

              Can any body tell What is the best approach by which I can capture the URL change event in IE and Firefox. I read about API hook. Is it the best approach or any other alternative is there.Thanks in advance

              Regards Rajmohan

              T Offline
              T Offline
              ThatsAlok
              wrote on last edited by
              #6

              Rajmohan SK wrote:

              Can any body tell What is the best approach by which I can capture the URL change event in IE and Firefox. I read about API hook. Is it the best approach or any other alternative is there.Thanks in advance Regards

              Mozilla has his own API, which can easily used by any programmer.. but mind it, it's pretty difficult to register with FireFox client, until and unless user want to install in. In case of BHO, it can be intalled without user permission.

              "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
              Never mind - my own stupidity is the source of every "problem" - Mixture

              cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups