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#
  4. Trapping browser requests in c#

Trapping browser requests in c#

Scheduled Pinned Locked Moved C#
csharplearning
10 Posts 6 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.
  • N Offline
    N Offline
    Nitin1981
    wrote on last edited by
    #1

    Hi, I've to write a browser request trapping applicaion in c#. I am not sure where to start. I've googled with little success. Can someone please provide me a starting point or resource.

    Don't Quit

    L B 2 Replies Last reply
    0
    • N Nitin1981

      Hi, I've to write a browser request trapping applicaion in c#. I am not sure where to start. I've googled with little success. Can someone please provide me a starting point or resource.

      Don't Quit

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      It's unlikely that you will get a response to such a vague question. Try explaining what is a "browser request trapping applicaion". The fact that you also say you don't know where to start suggests that you perhaps need to set your sights a bit lower.

      Just say 'NO' to evaluated arguments for diadic functions! Ash

      N 1 Reply Last reply
      0
      • L Lost User

        It's unlikely that you will get a response to such a vague question. Try explaining what is a "browser request trapping applicaion". The fact that you also say you don't know where to start suggests that you perhaps need to set your sights a bit lower.

        Just say 'NO' to evaluated arguments for diadic functions! Ash

        N Offline
        N Offline
        Nitin1981
        wrote on last edited by
        #3

        I want to retrieve the URL which user is trying to open. I want to retrieve this URL as and when user is trying to open it. Depending upon some criteria redirect the user to some other web page. I hope it makes sense. Thanks

        Don't Quit

        G L 2 Replies Last reply
        0
        • N Nitin1981

          I want to retrieve the URL which user is trying to open. I want to retrieve this URL as and when user is trying to open it. Depending upon some criteria redirect the user to some other web page. I hope it makes sense. Thanks

          Don't Quit

          G Offline
          G Offline
          Garth J Lancaster
          wrote on last edited by
          #4

          oh its beginning to make sense - you want us to help you write something malicious ? because according to your criteria, thats what you are describing .. 'g'

          1 Reply Last reply
          0
          • N Nitin1981

            Hi, I've to write a browser request trapping applicaion in c#. I am not sure where to start. I've googled with little success. Can someone please provide me a starting point or resource.

            Don't Quit

            B Offline
            B Offline
            Bernhard Hiller
            wrote on last edited by
            #5

            If that is not meant to be something malicious, then the application to write is a proxy server.

            N 1 Reply Last reply
            0
            • N Nitin1981

              I want to retrieve the URL which user is trying to open. I want to retrieve this URL as and when user is trying to open it. Depending upon some criteria redirect the user to some other web page. I hope it makes sense. Thanks

              Don't Quit

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              I cannot imagine anyone wanting such a program on their computer. When I click on a URL I do not expect some malware to intercept it and change it to some other URL that I do not want to see.

              Just say 'NO' to evaluated arguments for diadic functions! Ash

              J 1 Reply Last reply
              0
              • L Lost User

                I cannot imagine anyone wanting such a program on their computer. When I click on a URL I do not expect some malware to intercept it and change it to some other URL that I do not want to see.

                Just say 'NO' to evaluated arguments for diadic functions! Ash

                J Offline
                J Offline
                J4amieC
                wrote on last edited by
                #7

                Richard MacCutchan wrote:

                When I click on a URL I do not expect some malware to intercept it and change it to some other URL that I do not want to see

                Unless, f course, you're wanting to write a parental control mechanism. Not entirely malicious.

                L 1 Reply Last reply
                0
                • B Bernhard Hiller

                  If that is not meant to be something malicious, then the application to write is a proxy server.

                  N Offline
                  N Offline
                  Nitin1981
                  wrote on last edited by
                  #8

                  Yes, this is not for something malicious, this is to prevent the user from opening blocked web sites. Can you please let me know a starting point for this? Is it possible to write it in c#?

                  Don't Quit

                  P 1 Reply Last reply
                  0
                  • N Nitin1981

                    Yes, this is not for something malicious, this is to prevent the user from opening blocked web sites. Can you please let me know a starting point for this? Is it possible to write it in c#?

                    Don't Quit

                    P Offline
                    P Offline
                    Pete OHanlon
                    wrote on last edited by
                    #9

                    The normal way to do this is to use a proxy server to accomplish this - you are spending an awful amount of time (you've asked this before) and you still haven't coded it, when there are better solutions available as corporate solutions.

                    I have CDO, it's OCD with the letters in the right order; just as they ruddy well should be

                    Forgive your enemies - it messes with their heads

                    My blog | My articles | MoXAML PowerToys | Onyx

                    1 Reply Last reply
                    0
                    • J J4amieC

                      Richard MacCutchan wrote:

                      When I click on a URL I do not expect some malware to intercept it and change it to some other URL that I do not want to see

                      Unless, f course, you're wanting to write a parental control mechanism. Not entirely malicious.

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #10

                      Nothing in any of the OP's posts suggests that this is for parental controls.

                      Just say 'NO' to evaluated arguments for diadic functions! Ash

                      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