geckofx

How do I enable Javascript to function properly in GeckoFX?

Hi, I've started to use GeckoFX but I got a major issue with javascript:void(0) that acts as anchor which lets JS to pop new window and load url. How do I tell browser to do this INSIDE the geckobrowser component? RIght now, when I click it..nothing happens. ...

How to get Dom tree in GeckoFX

I started to play with GeckoFX. Unfortunately I didn't found any big documentation for that. I need to get DOM tree for the page. Iterate every element and get it's information. Can someone please help me? ...

Run multiple UI Threads

Skip to the bottom for the question; this is just some extra info I am using a component (GeckoFX) to render some websites, well fine, yet it can only be used in a Windows Form; as it has to bind to a WinForms object that can be drawn. Because all the WinForms are running in the same thread, I can only use one GeckoFX instance at a time...

Why doesn't GeckoFX Navigate() request work if launched in a seperate thread?

Why does this work, private void buttonBoo_Click(object sender, EventArgs e) { GeckoBrowser.Navigate("http://www.google.com/"); } and this not? private void buttonBoo_Click(object sender, EventArgs e) { Thread thread = new Thread(delegate() { GeckoBrowser.Navigate("http://www.google.com/"); }); thread.Start(); } ...

Directory tree in a Resource without extraction…

Hi all, i am looking for a way to store a complete directory including sub directories in an application's resource and not have to extract it to use it. Details: We would like to use GeckoFx (Gecko as C# Component) in one of our applications. GeckoFX needs the XUL-Runner and needs to find it's folder structure We have some other dat...

Gecko usage in C# (geckofx)

Hi! There are some things that I didn't find how to do using geckofx: Get the URL of a clicked link. Display print preview window. Does this functionality exist in geckofx? If not, what's the best way to achieve it in a C# project that uses GeckoWebBrowser to display html pages? Thanks ...

How can I use WebKit.NET or GeckoFX in a .NET WinForms application with dynamically loaded assemblies?

Hi, I'm working on a .NET WinForms application that loads forms and other UI elements from separate assemblies at runtime. This works well. However, one of the assemblies I'm loading has a form that uses either GeckoFX or WebKit.NET to embed a web browser control. When I try to load that assembly with Assembly.CreateInstance() I'm ge...

StackOverFlow exception GeckoFx

Hi there, I am using GeckoFX Multi 1.9.1.0 v.1 GeckoMulti and implementing the HttpActivityDistributor and HttpActivityObserver by using the following code: public void InitObserver() { nsIHttpActivityDistributor activityDistributor = Xpcom.GetService<nsIHttpActivityDistributor>("@mozilla.org/network/http-activity-distributor;1...

Retrieve selected elements in GeckoWebBrowser

I am using GeckoFX version 1.9.1.0 with C#.NET. I have a placed a GeckoWebBrowser Component (geckoWebBrowser1) and a Button (button1) in a form and have navigated the browser to a page. Some text in the page can be selected. This text is composed of one or more DOM elements. When button1 is clicked, I want to retrieve the DOM elements th...

Loading GeckoWebBrowser Exceptions

I get a strange exception when a window containing a GeckoWebBrowser is loaded. This is the exception message: An unhandled exception of type System.Runtime.InteropServices.COMException occurred in Skybound.Gecko.dll Additional information: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) This is the win...

Help With Proxy Username & Pass with GeckoFX??!!

Hello, I am trying to set the proxy username and password. I saw this posting (http://geckofx.org/viewtopic.php?id=832) and I thought it might be a similar setting for the username/password, such as : Skybound.Gecko.GeckoPreferences.User["network.proxy.user"] = (user); Skybound.Gecko.GeckoPreferences.User["network.proxy.password"] = (...

Problems with Silverlight and GeckoFX

Hello, I am trying to use GeckoFX to render Silverlight video, but it does not seem to be working. Does anyone have any idea why this would be? From my understanding it should work properly right out of the box. Thanks! ...

Skybound Gecko Project: Attempted to read or write protected memory.

I am starting out a pretty simple project - essentially a web browser with a hard-coded URL for public terminal use. That is to say, it WOULD HAVE been simple if the C# web browser control didn't make me want to commit suicide. I decided to go with the Skybound Gecko browser, as it seems to be the only feasible alternative.. I went thro...

Whats a better solution for Web Automation - Geckofx or WebBrowser Control in .NET

Iam coding a solution for web automation, I have been using the default web browser control in some of my past projects. However I have found that the performance of web browser control is not very good. After running for some time it usually hangs the application and also sometimes leads to memory leaks if the application is executed f...

C# interop to XPCOM

Before asking my question, I should admit that my knowledge of .NET interop is sparse, so I realize that I might be making a newbie error. I am using the GeckoFx library to create a C# application that contains an embedded Gecko (Firefox) browser instance. The app works well using GeckoFx in its original form, but I need to extend it to...

Get source of page from GeckoFX web browser component

Html code from GeckoWebBrowser.Document.DocumentElement.InnerHtml property differs from html downloaded from server because it is converted to DOM and there could be Javascript that changes document structure. How to get real page source? ...

GeckoFX or Webkit.NET local storage?

I'm aware of the two projects to brink Gecko or Webkit to C# windows forms, but can someone who has used them tell me how much support they give to new HTML5 technologies like local storage, etc... I'm not totally sure if gecko/webkit themselves offer this as they are just rendering engines, or if it is the web browser application that ...