Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27569

VS 2010 VB 2010 - Detect what webpages are open in IE and Google Chrome.

$
0
0
Hello,

I am building an application that is for a school who want another level of security. It will block certain webpages that can be set up by a user. It has to be done at the client end and work in both IE and Google Chrome. I need to know if code exists to determite what URL the webbrowser is at and also code to navigate to a new page. So for example I could write a function that could reroute the page e.g.

Code:

If Chrome.Url.Contains("www.youtube.com/") Then
    Chrome.Navigate("C:\blockpage.html")
End If

But obviously it would not be code as simple as that.

Thanks :wave:

- JamesAS

Viewing all articles
Browse latest Browse all 27569

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>