gecko

Delphi Gecko SDK - did anyone succeeded with that + XULRunner 1.9?

Hi, I did a checkout of d-gecko SDK from sf.net ( http://sourceforge.net/projects/d-gecko/ ). I wanted to try it with Gecko (XULRunner) 1.9, however when running simple application each time I get error in stdcall function, pointing to WebBrowser.Paint line ... My question is - did anyone succeeded to run GeckoSDK Delphi app in XULRunne...

Retrieve parent node from selection (range) in Gecko and Webkit

I am trying to add an attribute when using a wysiwyg editor that uses "createLink" command. I thought it would be trivial to get back the node that is created after the browse executes that command. Turns out, I am only able to grab this newly created node in IE. Any ideas? The following code demonstrates the issue (debug logs at botto...

What objects/events are exposed by the GeckoWebBrowser DOM that can be used within a C# form?

What objects/events are exposed by the GeckoWebBrowser DOM that can be used within a C# form? ...

How do I embed a Gecko or FireFox browser into a VB.NET application?

I am having some problems trying to embed Gecko or Firefox into my VB.net application - specifically when running on Vista or Windows 7. Is this possible to do? Or should I look for a different alternative? Any links to documentation would be greatly appreciated. ...

How would I alter HTML displayed in VB.net application using Gecko

Hi, I would like to know how I would go about altering the HTML that is displayed by my VB.net application using GeckoFX. What I would like to do restrict certain words/names/attributes from showing in the browser. Any info/links would be greatly appreciated. Thanks! ...

render HTML (convert to bitmap)

Can somebody recommend the best (and preferably portable) way to render HTML documents onto a bitmap? As far as I understand my main 2 options are WebKit and Gecko, but I wasn't able to find a good starting point on how to do it. When I last tried doing this 5 years ago, I ended up using Gecko to send the document to a printer, which i...

Embeding Gecko/Webkit in Java

Id' like to have Gecko/Webkit/other webbrowser embeded in Java as a swing/awt control. I like something different to Jrex or JWebPane. ...

which layout engine for finding coordinates of html elements on the web page?

I am doing some web data classification task and was thinking if I could get the co-ordinates of html elements as they would appear on a web-browser without taking into consideration any css or javascript being referred in the web page. My language of programming is c++ and the need results for a couple million of pages, so it has ...

highlight the text of the DOM range element,

I am able to highlight the text on the HTML page(rendered through gtkmozembed), which is selected, like below. var range, sel; if (window.getSelection) { sel = window.getSelection(); if (sel.getRangeAt) { range = sel.getRangeAt(0); } document.designMode = "on"; if (range) { ...

execCommand not working for xml file

I am using execCommand command to 'Hilite' selected text on the page which is rendered with gecko engine/gtkmozembed. if ( !document.execCommand("HiliteColor", false, colour) ) { document.execCommand("BackColor", false, colour); } This is working fine with HTML pages. But i have some XML pages( books in xml format). ex...

How can I enable child inputs text selection in Mozilla Firefox using CSS?

Hi. Let's consider the following scenario. I have the following page where all rendered elements must be non-selectable. <html> <head> <style type="text/css"> body { -webkit-user-select: none; -moz-user-select: none; } div { border: solid 1px green; padding: 5p...

Is it possible to catch keyboard and mouse events in C++ using Mozilla embedded version?

Hi, The situation is this. I would like to catch mouse and keyboard events in html code which loaded using Mozilla embedded. IS there support for it? Thanks. ...

Print Stylesheet - Printed Page width Different in Webkit vs. Gecko/IE

When printing the page below in Safari/Chrome, the content (everything on the page, basically) is squished into the left side of the page, at about 60% of the page's width. However, in FireFox and IE 7, the printed page shows the content as the full width (and looks quite nice, imo). I resized all the layout elements to 100% width (usin...

Any articles on how to get started building your own browser?

Hello recently I've been a bit curious and wanted to make a browser. I'd like to use an existing engine though such as Gecko or Webkit. Are there any resources on the web for how to get started and any examples? Language choice doesn't really matter(but no VB please. That was the only example code I found) ...

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! ...

How to save a tab's memory state in Firefox/Chrome?

I want to be able to save a tab's state in Firefox or Google Chrome so that I can restore it later, through writing a custom add-on/plug-in/extension. The closest thing I can find is Firefox's session store API, which can save form data and scroll position. However, I want to save Javascript state too. In addition, if possible, I want t...

How does Gecko (or any other layout engine) render a document/page?

It was kinda hard to go through Gecko's documentation to see how it renders a web page. I'm doing some performance analysis for my projects across the leading browsers to see how to improve response time. I am aware of optimization techniques out there but I don't really understand their basis--which I believe would be resolved if I kne...

Where can I get the Gecko (layout engine) source?

I have done quite a bit of poking around for the gecko source but I cannot seem to find it. I have found the word gecko littered through the firefox source code when I do this: for i in `find .`; do grep -ibH gecko $i; done If anyone knows where I can get the source I would really appretiate it. ...

Firefox/Gecko unable to animate transform="rotate(…)" in SVG?

In the page I'm working on, when the user clicks on an object, one SVG group rotates out of the way while another rotates in. The code as it is works just fine in WebKit, but it isn't working at all in Gecko. Here is the block of code that is not being executed by Gecko: var totStep = dur*2/msrate, step=0; window.timer = window.setInte...

Gecko 2 ActiveX Control VCL component in Delphi?

Hey there, How can I import the Gecko 2 (used in Firefox 2) Active control into the component palette so I can add it to my form at design-time? Basically, I want something like a TWebBrowser component, but not using Internet Explorer. Nor do I want the outdated Mozilla Control ( http://www.iol.ie/~locka/mozilla/mozilla.htm ) or the Ge...