|
-
Jul 5th, 2018, 05:59 AM
#1
Thread Starter
Member
How can I read what is being searched in a web browser, and return it to a MessageBox
I have an application which I'm using to practice with, which will re-direct traffic from a certain website to a different website.
1.
User opens a web-browser and types in a link like "www.youtube.com".
2.
The user presses 'enter' and they're forwarded to www.youtube.com.
Now, what if I don't want to go to this website, and I want to redirect the search to a different domain? How would I do this? Would it look something like this?
Code:
Dim website As "www.youtube.com"
If website.IsSearched = True Then
MesssageBox.Show("This site is whitelisted.")
I know this code will NOT work, but, it's a brief example of what I'm trying to achieve.
Any help or references to projects would be great.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|