gecko

Integrate GeckoView in Android

北城以北 提交于 2019-12-04 12:22:28
I'm facing problem in file upload in webview in Kitkat(4.4). As per https://code.google.com/p/android/issues/detail?id=62220 it can't be done in 4.4 due to missing method in new version of webview. Hence searched and found GeckoView( https://wiki.mozilla.org/Mobile/GeckoView ) as alternative for webview. I followed all steps specified at https://wiki.mozilla.org/Mobile/GeckoView , still project is not running in emulator as well as android device. I tried downloading and importing sample project Geckobrowser in https://wiki.mozilla.org/Mobile/GeckoView , but it gives compile time error for

How do I use Mono.WebBrowser?

淺唱寂寞╮ 提交于 2019-12-04 10:51:54
问题 I read through this page twice http://www.mono-project.com/WebBrowser yet I have no clue how to use it. There's no assembly nor can I type using Mono.WebBrowser . Using it directly also causes an error because it's not found. Do I need some separate installs and how am I supposed to set it up and running? I am trying to have a Gecko rendering a page on Windows, Mac OS X and Linux. 回答1: It works via COM - yes you need sepparate installations. It means that you need Mozilla installed. 来源: https

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

天大地大妈咪最大 提交于 2019-12-03 22:15:28
It was kind of 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 knew how browser engines do their thing. David Baron I gave a tech talk on material that might be useful a few years ago. It wasn't the best of presentations, but I think I did manage to convey some useful information despite that. (Slides at http://dbaron.org

What is the best HTML Rendering Engine to embed in an application? [closed]

无人久伴 提交于 2019-12-03 09:38:39
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 5 years ago . At the moment, our application uses the Trident Win32 component, but we want to move away from that for a few reasons, chief among them being our desire to go cross-platform. We're looking at WebKit and Gecko, but I'd love to get some feedback before I make a decision. Here

gecko clear cache history & cookies

我们两清 提交于 2019-12-03 08:03:44
Help! I use GeckoFx-Windows-10.0-0.6 for browser and xulrunner-10.0.en-US.win32 . ( Visual Studio 2010 c# ) everything works well. But i need to clear all history as at Firefox : Tools >> Options >> Privacy I find how clear cookie over Gecko.CookieManager.RemoveAll(); How clear cache , temp files and history ?! And when i initialize Gecko.Xpcom i can not clean the folder "Gecko.Xpcom.ProfileDirectory" (where cache and cookie) for obvious reasons. Gecko.Xpcom.Shutdown() does not help I found a way to clean the cookies via javascript : var cookieManager = Components.classes["@mozilla.org

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

試著忘記壹切 提交于 2019-12-03 07:55:44
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 bottom show different output in each browser): var getSelectedHTML = function() { if ($.browser.msie) { return this.getRange().htmlText; } else { var elem = this.getRange().cloneContents(); return $("<p/>").append($(elem)).html(); } }; var getSelection = function() {

Embed Firefox/Gecko in WPF/C#

♀尐吖头ヾ 提交于 2019-12-03 07:38:23
问题 I want to embed the current Gecko in my WPF-Project. I know there is the possibility with the Winforms-Host and the Skybound-Gecko-Library. But I do not use the standard wpf-theme for my application. It is another and the scrollbar of the control will not be styled. Furthermore, this is an old library which is designed for Firefox 3. Which is the best library/strategy to use the current Gecko in WPF? 回答1: You should have a look at these options, they all use Chromium: paid: (Awesomium-based)

Force visible scrollbar in Firefox on Mac OS X

▼魔方 西西 提交于 2019-12-03 04:43:55
问题 Firefox 24 introduced Lion scrollbar support. This will show scrollbars in Lion style on Mac OS X. See: https://wiki.mozilla.org/Lion_Scrollbars/Triage This causes a problem for me: a scrollbar on a div is now hidden by default. Sometimes I want to force a visible scrollbar. For WebKit there is a nice solution (mentioned at https://davidwalsh.name/osx-overflow): ::-webkit-scrollbar { -webkit-appearance: none; width: 7px; } ::-webkit-scrollbar-thumb { border-radius: 4px; background-color: rgba

Web crawler capable of interpreting Javascript in python for Windows

做~自己de王妃 提交于 2019-12-03 00:43:36
My ultimate goal is to build a web crawler capable of downloading all of the images on a webpage. My understanding from the reading I've done is that I need to embed a rendering/layout engine such as Gecko or Webkit. Unfortunately, I'm running windows, so PyWebkit is out and short learning C++ for Gecko or Java to use Rhino, I'm not sure where to turn. Is there a reliable rendering engine with python bindings that will work in windows (64-bit, Windows 7)? Is there an easy way to execute javascript within a python script on windows? You don't need Webkit to do that. All you need it an engine to

Embed Firefox/Gecko in WPF/C#

删除回忆录丶 提交于 2019-12-02 21:06:00
I want to embed the current Gecko in my WPF-Project. I know there is the possibility with the Winforms-Host and the Skybound-Gecko-Library. But I do not use the standard wpf-theme for my application. It is another and the scrollbar of the control will not be styled. Furthermore, this is an old library which is designed for Firefox 3. Which is the best library/strategy to use the current Gecko in WPF? albertjan You should have a look at these options, they all use Chromium: paid: (Awesomium-based) http://awesomium.com/ (is free for startups) http://wpfchromium4.codeplex.com/ (uses awesomium)