Well i need a bit of code that stops redirection please. I have a link that is redirected by javascript and i need to stop it redirecting. I talked to someone and they told me to add this:
Code:
private void webBrowser1_Navigating(object sender, WebBrowserNavigatingEventArgs e)
{
if (e.Url = "http://www.runescape.com")
{
e.Cancel = true;
}
}
I tried adding it, but it came up with an error. Any help please?
Thanks.