FAQ Database Discussion Community


What is the appropriate event listener for a page that change it's content using XMLHttpRequest?

javascript,c#,webbrowser-control,geckofx
By using the GeckoWebBrowser in C# is there anyway to know when a page has completed updating its content using XMLHttpRequest ? I thought that the DocumentCompleted event would have done it but since the page it's not reloading it wont fire up...

Playing Flash video using cefsharp or Geckofx

winforms,flash,video,geckofx,cefsharp
I'm putting together a simple winforms app for playing videos from the web for my kids. I've explored two options so far but I'm having problems with both of them: cefsharp: Playing videos wasn't a problem, but it would not persist cookies (even with the CachePath set), so I would...

Call VB Sub from Embedded GeckoWebBrowser using window.external.Sub1();

asp.net,vb.net,geckofx
I have an aspx page on my webserver which I load through an embedded web browser on a windows form. I am able to call the Sub1 from javascript window.external procedure. This is only when using the standard VB control WebBrowser. I have the necessary permissions active with <PermissionSet(SecurityAction.Demand, Name:="FullTrust")>...

Disable JavaScript Alerts GeckoFX C#

javascript,c#,winforms,geckofx
I'm trying to disable JavaScript alert in GeckoFX-33 + xulrunner 33 ( winforms c# ) but I can't find a solution. I check the example codes, source code but I just can't find something that blocks the alert out. I searched in about:config as well without success. Anybody knows where...

Click to a random url on page with GeckoFX

c#,winforms,geckofx
I am trying to randomly Click/Navigate to a URL in my browser after the page is finished loading. I'm fairly new to C# and GeckoFX, I'm guessing the steps should be; Collect urls from the loaded page Check if they are in href and starting with http Navigate to a...

(vb.net) Why GeckoFX 31 buildID cannot be detected by sites?

vb.net,xul,xulrunner,geckofx
I'm building a web browser in vb.net using geckofx 31 and xulrunner 31. I need web sites to think I am navigating with a regular Firefox 31. If I run http://browserspy.dk/showprop.php with a regular Firefox 31 it detects the buildID (should be 20140716183446), but when I run it on my...

Gecko Select Element Set Selected without Submit

c#,html,geckofx
I'm using GeckoFx to click through a form on a webpage. There is a select element on the page of which I want to set the selected item. When a normal user selects an element, an event is triggered showing a secondary select list. When I select using the GeckoFx...

Event Handler Tabbed Web Browser With GeckoFX

vb.net,browser,tabs,handler,geckofx
I tried to make a tabbed web browser with geckofx. This is my code to make a new tab: Dim t As New TabPage Dim bro As New GeckoWebBrowser bro.Dock = DockStyle.Fill t.Text = "New Tab" t.Controls.Add(bro) TabMain.TabPages.Add(t) TabMain.SelectedTab = t bro.Navigate("http://www.google.com") Now, how to handle DocumentCompleted and DocumentTitleChanged in...