Skybound Software is looking to hire experienced C# developers to work on Stylizer and other forthcoming Skybound products. Click here for details.
GeckoFX is an open-source component which makes it easy to embed Mozilla Gecko (Firefox) into any .NET Windows Forms application. Written in clean, fully commented C#, GeckoFX is the perfect replacement for the default Internet Explorer-based WebBrowser control. Download GeckoFX @ Google Code >
GeckoFX is made by Skybound Software, authors of Stylizer—the professional CSS editor with a strong focus on visual control, error-free workflow, and productivity. Learn About Stylizer >
Discuss GeckoFX, the Open-Source Gecko Control for .NET
You are not logged in.
Pages: 1
Hi all, I've been playing with Gecko for a few days now, finally got it working in my application.
One issue, the website (locally hosted via cherrypy) has authentication enabled so prompts for a login.
Is it possible to auto login? Gecko seems to remember the login username and password but does not login unless clicking OK. The same with username:password@website.com.
I've tried adding the site (localhost, 192.168.1.100, server) to:
network.automatic-ntlm-auth.trusted-uris
network.negotiate-auth.delegation-uris
network.negotiate-auth.trusted-uris
in about:config but this doesnt seem to work.
Any advice?
Thannks.
Last edited by madlan (January 25, 2010 11:54 AM)
Offline
It doesn't pop up for me using the http://user:password@site
but I use my own compiled version of xulrunner that doesn't alerts about ssl sites:
http://geckofx.org/viewtopic.php?id=745
This might be interesting for you. I haven't tried it though.
http://www.povo.com/Development/GeckoFX … werFactory
Offline
Hi Chrisian,
Have you chanaged any configuration options to prevent the popup?
I still get the prompt regardless of any obvious setting.
Thanks.
Last edited by madlan (January 25, 2010 11:54 AM)
Offline
That's right, now I remember I added some options one of these might be the one you need:
//Disabling confirm dialog for Htaccess-Sites Skybound.Gecko.GeckoPreferences.User["network.http.phishy-userpass-length"] = 255; //Transform popups into error pages Skybound.Gecko.GeckoPreferences.User["browser.xul.error_pages.enabled"] = true;
Last edited by Cristian (January 25, 2010 12:20 PM)
Offline
I've implemented both of those - still prompting for login, although if I use username:password@ it no longer prompts, almost there!
Skybound.Gecko.GeckoPreferences.User("network.http.phishy-userpass-length") = 255
Skybound.Gecko.GeckoPreferences.User("browser.xul.error_pages.enabled") = True
Thanks for your help :)
Offline
Pages: 1