Questions tagged [geckofx]

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.

465 questions
2
votes
2 answers

GeckoFX WebBrowser page height and width

Does anyone know how I get the full page height and width in GeckoFX? In the IE WebBrowser object, I can look at WebBrowser.Document.Body.ScrollRectangle. (The objective here is to take a screenshot of the entire page) Thanks!
carlbenson
  • 3,177
  • 5
  • 35
  • 54
2
votes
1 answer

How do I enable Javascript to function properly in GeckoFX?

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…
Skuta
  • 5,830
  • 27
  • 60
  • 68
2
votes
2 answers

Downloading GeckoFX older versions since Bitbucket repo turned private

Since the bitbucket repo. of GeckoFX turned private, I am unable to download the older version of GeckoFX say 37.0.1 . Is there any source or way to do it to get GeckoFX dlls from the Browser itself or I will stuck on this catch22 thing. I really…
Asim Khan
  • 572
  • 6
  • 34
2
votes
0 answers

How get text content geckofx c#

i use geckofx c# to get the textcontext. why can't I get the textcontent result if the html element is like this
Michael
Andrey
output…
Kolimondi
  • 87
  • 1
  • 5
2
votes
0 answers

How can I get http response headers in DocumentCompleted event on C# with GeckoFX 60?

I’d like to get HTTP response header in DocumentCompleted event (when page is loaded) for obtaining a response http code (200 or other) in GeckoFx 60. Can anyone tell me how I can implement it on C#? Thank you.
Paul
  • 23
  • 3
2
votes
1 answer

GeckoFx loaded page grey

I have GeckoFX 45 in my project and use it as a web-scraper and it loads YouTube page and gathers info like title, number of comments, top viewed video, etc... After I did not use this tool for over a year but all other web is loading when I debug…
PavelRak.
  • 21
  • 4
2
votes
0 answers

GeckoFx disable window.print of html

I use GeckoFx to capture an image of a web page. The problem is that this web page has a script: