Need help with WebBrowser !

06/23/2013 02:00 uRBAN dAMAGE 01#1
Is there anyway to set when browser request some file
to load another file.

If URI matches...
[Only registered and activated users can see links. Click Here To Register...]
then respond with...
[Only registered and activated users can see links. Click Here To Register...]


i do this now with [Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]

but want to make webbrowser in VB to do this automatic..

any help ?


i don't know how to explain

please see this picture

[Only registered and activated users can see links. Click Here To Register...]

Pls someone help me
06/23/2013 02:26 dready#2
mhh

I dont think the webbrowser control will support this by default

You could
a) implement an own Webbrowser
b) look if there are browser controls out there which are suitable

But i guess i would use a cheap approach, just implement an Proxy, set the Browsercontrol properly so it uses it, fiddel with the data when it passes the proxy
06/23/2013 14:57 uRBAN dAMAGE 01#3
Quote:
Originally Posted by dready View Post
mhh

I dont think the webbrowser control will support this by default

You could
a) implement an own Webbrowser
b) look if there are browser controls out there which are suitable

But i guess i would use a cheap approach, just implement an Proxy, set the Browsercontrol properly so it uses it, fiddel with the data when it passes the proxy
i maded own Webbrowser and i stuck here so for that i ask for help how to make this automatic to do it :) tnx for trying any help is welcome
06/23/2013 16:25 dready#4
Uhm .. then just modify the function of the protocol that is resolving the GETs ?
Are you realy sure you have imlemented an own browser ?
06/23/2013 21:13 uRBAN dAMAGE 01#5
Quote:
Originally Posted by dready View Post
Uhm .. then just modify the function of the protocol that is resolving the GETs ?
Are you realy sure you have imlemented an own browser ?
yes browser is done and works fine but now i need to make a script or someone explain me how to made automatic replace that file when it load from normal website address to main from my host i will put file and want to replace with that main file link of file like fiddler does from your own pc file replace it with browser link :)

sry for my english
06/24/2013 17:55 dready#6
Uhm .. i dont think you have implementend an own browser ..
06/26/2013 21:56 MrSm!th#7
#moved
07/01/2013 05:06 »jD«#8
Develop a proxy server and set the global proxy for your application to it.

To set the proxy server for your app, do this:

Code:
System.Net.WebRequest.DefaultWebProxy = new System.Net.WebProxy("127.0.0.1", 1234);
Where 127.0.0.1 is your local loopback address and 1234 is the proxy port.

-jD