GeckoFX is a Windows Forms control written in clean, commented C# that embeds the Mozilla Gecko browser control in any Windows Forms Application. It also contains a simple class model providing access to the HTML and CSS DOM.
Questions tagged [geckofx]
465 questions
12
votes
2 answers
How to use Gecko in C#
I need a Gecko WebBrowser Control
I need a sample code or a link which explains how to use GECKO
If anyone has used Gecko, I could do with some advice

DanMatlin
- 1,212
- 7
- 19
- 37
11
votes
1 answer
Using different proxy for each GeckoFx Instances
I'm Using Geckfx18.0 and xulrunner18.01. Since Geckofx share cookie and user preferences with others instance so I try to create a new profile directory to make them have unique setting but it seems to be no use. here is my code. Is there any…

Cường Nghiêm
- 121
- 5
10
votes
3 answers
Non-IE WebBrowser ActiveX control
Google searches are leading me down a bunch of dead ends with this one.
I am developing an Excel add-in in VBA, and part of it involves the use of the WebBrowser control to display a (known) webpage inside a form and access its DOM…

Josh
- 4,412
- 7
- 38
- 41
9
votes
4 answers
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…

Jan Jongboom
- 26,598
- 9
- 83
- 120
6
votes
2 answers
Submit web form on a GeckoWebBrowser? (GeckoFX)
There is a properly way to submit a web form using GeckoFX library?
This is what I'm doing to fill a web form and submit the form, but...well, I'm not submitting, I'm just clicking on the last button of the page and I think that can't be the…

ElektroStudios
- 19,105
- 33
- 200
- 417
6
votes
3 answers
How to call C# method in javascript by using GeckoFX as the wrapper of XULRunner
I am using GeckoFX16 and xulrunner-16.0.2.en-US.win32 in my project.
The thing is, I want to call a C# method in javascript.
I am curious, is there a way to do this?
Just like below:
C# part:
private GeckoWebBrowser weBrowser;
public browser()
…

Howard
- 4,474
- 6
- 29
- 42
6
votes
1 answer
How to set user agent in GeckoFX?
After using the webbrowser control for some time, I decided to give gecko a try, because of the webbrowser's problems that I've experienced, low speed and degrading performance. I downloaded the latest version of geckofx (16.0.0.2) and…

pzogr
- 424
- 1
- 12
- 30
5
votes
1 answer
how to denied open new window in geckofx?
i can't find way to denied open new window when clicking links on webpage. All preferences about popups is not working.
I want to open any clicked links in current window. How can i do that?

CrazyStack
- 169
- 2
- 13
5
votes
1 answer
GeckoWebBrowser access an incorrect URL,Always pop up message box
www.addssds333fdsd.com.cn could not be found. Please check the name and try again.
GeckoWebBrowser _webA = new GeckoWebBrowser();
_webA.Navigate("www.addssds333fdsd.com.cn");
When I Access An incorrect URL,Application will pop up message box.
How…

c.lin
- 51
- 3
5
votes
1 answer
Is that possible ? GeckoFX can use seperate CookieContainer per instance?
I'm Using Geckfx22.0 and xulrunner22.0. Since GeckoWebBrowser in .Net shares cookies with all other instances of GeckoWebBrowsers I would like for a GeckoWebBrowser to have it's own cookie container which doesn't share any cookies that was created…

yasmuru
- 1,178
- 2
- 20
- 42
4
votes
2 answers
GeckoFX Update for Gecko 2.0?
I was really excited when I found GeckoFX last month. My employer wants to distribute an embedded browser with our desktop application (to smooth the transition from desktop-based apps to web-based apps), and being able to use Gecko rather than IE…

EAMann
- 4,128
- 2
- 29
- 48
4
votes
1 answer
How to Redirect Gecko Javascript Console messages to a file?
Is there any way to redirect the javascript console to a file?
I found this link
https://bitbucket.org/geckofx/geckofx-29.0/issues/9/how-to-get-javascript-consolelog-error
but it requires using devtools that im not going to have in the field.
There…

mbalsam
- 611
- 1
- 6
- 16
4
votes
0 answers
C# Gecko Allow Notifications
I am using the Geckofx 45 in C# for a webpage to render.
My web app will send notification messages.
I am having trouble to accept the notifications and show in the browser.
Notification.Persmission should be kept granted for a page to load.
I am…

Yugandhar Reddy
- 41
- 2
4
votes
1 answer
Initialise geckoWebBrowser Exception for C#
My program below throws an exception.
Program.cs is as follows:
static void Main()
{
Gecko.Xpcom.Initialize("D:\\xulrunner\\");
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
…

W F
- 41
- 5
4
votes
1 answer
Call Javascript From C# in GeckoFX 33
Im trying to execute javascript call from C# to the Document loaded in GeckoFX controller, im doing this:
public void evaluateScript(string command)
{
System.Diagnostics.Debug.WriteLine("evaluateScript: " + command);
using…

Zenth
- 769
- 2
- 7
- 23