问题标签 [geckofx]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
864 浏览

c# - Geckofx C# Blocking Specific domains

I am using Geckofx v18 for a C# application.

Is it possible to configure it to block certain domains? If so, how.

Update: I want to do this to block certain external images from loading on a website as they are consuming excess bandwidth. Also, I use ip:port proxies, so it should work with that set too.

0 投票
1 回答
281 浏览

vb.net - Use Xpcom.CreateInstance(String); in VB.NET

I want to use such a CreateInstance-Function as the following one for GeckoFx in VB.NET.

The code above works fine for C-Sharp but not for VB.NET, what should I use instead?

If I try Xpcom.CreateInstance(nsILoginManager)("@mozilla.org/login-manager;1") I get an Error for as the following one :

"This [nsILoginManager] is a type and cannot be used as Expression"

What else should I write/use?

The reason why I try this is to activate the historisation for fields in the webbrowser-component.

0 投票
1 回答
1051 浏览

c# - C#:在基于 GeckoFX 的浏览器中阻止广告?

我想知道是否可以在基于 GeckoFX ( https://bitbucket.org/geckofx ) 的浏览器上屏蔽广告?

0 投票
1 回答
3189 浏览

c# - 如何让 Gecko 每个实例使用单独的 CookieContainer?

由于 .Net 中的 GeckoWebBrowser 与 GeckoWebBrowser 的所有其他实例共享 cookie,我希望 GeckoWebBrowser 拥有自己的 cookie 容器,该容器不共享之前在其他 GeckoWebBrowser 或其他实例中创建的任何 cookie。

因此,例如,当我创建 GeckoWebBrowser 时,它不应该有任何 cookie。当我运行 2 个 GeckoWebBrowser 实例时,它们有自己的 cookie 容器,并且不会相互共享或冲突 cookie。

这怎么可能?

0 投票
0 回答
857 浏览

c# - 在 C#.Net 中使用 GeckoFx 22 时出错

我正在创建一个使用 Component GeckoFX 22 的应用程序 C#.Net 框架 4.0,但我没有开始工作..我做了所有参考,好吧..我在 x86 上运行,所有这些都根据他们的要求在项目中 ..

我的项目:https://mega.co.nz/#!KMZgGQ7S!RDs0-AHjHXiSiyvfVAyZQk0Si9Aq2InA-dbMV2BpzoA *删除http://后面的空格

geckofx22 = https://bitbucket.org/geckofx/geckofx-22.0

*去掉http://后面的空格

xulrunner = http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/22.0/runtimes/xulrunner-22.0.en-US.win32.zip *去掉http://后面的空格

见下面的代码:

图片项目:http://postimg.org/image/cekuka9nn/ *去掉http://后面的空格

在我运行时看到错误:http://postimg.org/image/usvdo9lyb/ *删除 http:// 之后的空格

谢谢

0 投票
1 回答
355 浏览

c# - C# GeckoFX Web 浏览器 - 从文本框中删除 http

我正在使用网络浏览器。一旦不再选择文本框,它应该删除 http:// 和最后一个 /。为此,我使用了文本框的 leave 方法。此代码与普通的 WebBrowser 完美配合。

然而,在 GeckoFX 中,文本框仍然显示 http:// 和 /!?!?!

0 投票
2 回答
2596 浏览

c# - 在 ac# 64 位 Windows 窗体应用程序中使用 Geckofx

在 64 位 C# 窗口窗体应用程序中,我可以使用 geckofx 还是没有这样的解决方案?谢谢

0 投票
1 回答
4020 浏览

flash - 在 xulrunner 22.0 上安装 Flash Player 插件

我正在使用在 xulrunner 22.0 上运行的 GeckoFX,它运行良好。但是当使用 Flash 加载网站时,它不会加载 Flash 内容。

我一直在尝试将 Flash Player 插件安装到 xulrunner,但我失败了。

我遵循的安装是将NPSWF32_11_7_700_224.dll文件复制到xulrunner目录下的/plu​​gins/目录下。和FlashPlayerApp.exe到 xulrunner 目录本身。仍然一无所有。

任何人都知道如何让这个东西工作?

0 投票
1 回答
292 浏览

tabs - Geckofx VB.net 从 Hyperlink vb.net 获取 url

我使用 Geckofx,我想知道,如何从 geckowebbrowser 中的超链接获取 url。

谢谢你

0 投票
0 回答
466 浏览

c# - C# web 浏览器保存搜索引擎设置

我正在使用默认搜索引擎是谷歌的网络浏览器,直到用户点击雅虎(或其他搜索引擎)按钮。问题是,在您开始一个新会话后,它会再次通过 Google 打开。你怎么保存它?

我知道如何使用 Properties.Settings.Default.Save(); 保存设置;但是它似乎不适用于点击事件。(这里的代码是改搜索引擎)

我正在使用 GeckoFX。雅虎设置的代码是:

并执行: