[notify]ShoutOut! Technology[/notify] Oh oops, forgot about this one.
You can refer to the MinimalExample for CEFSharp, just to see how to get some of the basic functionality working (such as getting the page title and such), it is in C#; although it doesn't differ too much from what you'd have to type in VB.NET (other than a few syntactical differences): https://github.com/cefsharp/CefSharp.Mi … serForm.cs
To answer some of your questions:
1. How do I get the webpage title in CEFSharp?
So from looking at the MinimalExample, you can only fetch the webpage title within the "OnBrowserTitleChanged" event, like this:
2. How do I get the webpage favicon in CEFSharp?
The easiest solution to this one would be to just use a HttpWebRequest and get the "favicon.ico" file from the root of the loaded webpage, like this:
'Get the favicon from the root of the loaded website
Dim url As Uri
Form1.InvokeOnUiThreadIfRequired((Sub() url = CefBrowser.Address)
Dim iconURL = "http://" & url.Host & "/favicon.ico"
Dim request As System.Net.WebRequest = System.Net.HttpWebRequest.Create(iconURL)
Dim response As System.Net.HttpWebResponse = CType(request.GetResponse(), Net.HttpWebResponse)
Dim stream As System.IO.Stream = response.GetResponseStream()
Dim favicon = Image.FromStream(stream)
Form1.TwbpTabs1.TabContainer.getTabFromForm(Me).TabIcon = favicon
Catch ex As Exception
'Show a blank page icon if no icon is found
Form1.TwbpTabs1.TabContainer.getTabFromForm(Me).TabIcon = My.Resources.pageIcon
You'll have to import the following:
3. How do I block ads in CEFSharp?
4. How do I handle new window/tab creation events in CEFSharp?
The following question has already been answered elsewhere (it is in C#, although it shouldn't be too hard to convert into working VB.NET code): https://stackoverflow.com/questions/305 … n-cefsharp
5. How do I remember passwords in CEFSharp?
This is a lot easier said than done, I'd suggest steering away from this sort of feature until you get a little more familiar with both the language and CEFSharp. Handling other people's password's should be done with a fairly security-conscious approach, and should never be "half-arsed" so to speak.
Hope this answers some of your questions!