Proxy preferences (authenticated proxy)

Hi all,

I'm using xulrunner 1.9.0.19 and trying to get web access via a
proxy working. So far I have added this the preferences:

    pref('network.proxy.type', 1);
    pref('network.proxy.http', '192.168.13.254');
    pref('network.proxy.http_port', 3128);

and that works, but still prompts me for the proxy username/password.

Is there some way I add the username/password to the preferences?
Some applications allow a proxy to be specified as:

   http://username:password@192.168.13.253:3128/

Any plans to add something like this to xulrunner?

Thanks,
Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
0
Erik
3/30/2011 3:27:54 AM
mozilla.dev.tech.xul 2282 articles. 0 followers. Post Follow

1 Replies
1268 Views

Similar Articles

[PageSpeed] 39

Erik de Castro Lopo wrote:

>I'm using xulrunner 1.9.0.19 and trying to get web access via a proxy working. So far I have added this the preferences:
>
>    pref('network.proxy.type', 1);
>    pref('network.proxy.http', '192.168.13.254');
>    pref('network.proxy.http_port', 3128);
>
>and that works, but still prompts me for the proxy username/password.
>
>Is there some way I add the username/password to the preferences? Some applications allow a proxy to be specified as:
>
>   http://username:password@192.168.13.253:3128/
>
>Any plans to add something like this to xulrunner?
>  
>
It's available in XULRunner 2.0, see 
https://bugzilla.mozilla.org/show_bug.cgi?id=521467

-- 
Warning: May contain traces of nuts.
0
Neil
3/30/2011 9:25:38 AM
Reply:

Similar Artilces:

to proxy or not to proxy that is the ?
ok, i had jconect on NT and my AIX Sybase database on an RS/6000, so i used the proxy...fine. i have installed jconnect on the rs/6000, installed netscape fasttrack and i STILL have to use the proxy to avoid those -1 erro messages. does this mean that jConect always has to use that proxy no matter where anything lives? i am confused.... please enlighten me This is a multi-part message in MIME format. --------------6A7C6750A66874EBD6E2677A Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit If you remove the "proxy" connection property fro...

Proxy to proxy
Hi. We use BM 3.8 as a proxy server and the main task is to restrict which url's the users can use. In the network there is another proxy server with internet access. Is it possible to setup BM to use another proxy server to connect to internet? And if yes, how ? Magne Absolutely. Search under "Cache Hierarchy Client". Basically....enable the client on the BM box, add you upstream proxy (Neighbor Hostname) add the correct port for the type of upstream proxy, add the type of proxy, usually you can just leave the priority at "1". looks like this...

proxy to proxy
We will connect with our Bordermanager to an other proxy. but there is a syntax-problem our BM-Proxy will build the connection with(Trace) ....cyberbanking.bankkoop.ch:443/ HTTP/1.0..... but there should not be / according to RFC there is no "/" Slash allowed. Beat Brunner <<...cyberbanking.bankkoop.ch:443/ HTTP/1.0..... that has been fixed in the latest patches Gonzalo > <<...cyberbanking.bankkoop.ch:443/ HTTP/1.0..... > > that has been fixed in the latest patches > > Gonzalo > what do you meen with lastes patches ...

to Proxy or not to Proxy ?
Hi all, Could I ask for some opinions regarding using a proxy ? Here in the UK, I use Freeserve as my dial-up ISP. There is a web-cache proxy available for use if required, tho' IE6 works fine with or without (a small increase in page loads occurs if I use the proxy). The problem is, that if I use the proxy, then my Outpost Firewall logs only register connections to it, so I suffer from a serious lack of information about where my browser connections are going and what I could block (like adclick connections etc). I'm really not sure about the merits of with/without the pr...

Problem with Proxy Server : Proxy Authentication required
I am facing a strange problem. I am currently working on an intranet application which dynamically reads CSV file and converts it into XML. When i develop this application as console based in C# it runs perfectly fine. But when i use ASP.net it throws an exception "The remote server returned an error: (407) Proxy Authentication required I have added following lines of code to my application but exception is still thrown. Same code i am using in my C# application and it works perfectly fine but in ASP.net application it just does not seems to work. #region ProxyCode System.Net.WebPr...

superreview granted: [Bug 444157] [Proxy] Migrate SeaMonkey's Proxies preferences to new pref window : [Attachment 331983] pref-proxies patch v0.2d
neil@parkwaycc.co.uk <neil@httl.net> has granted Ian Neal <iann_bugzilla@blueyonder.co.uk>'s request for superreview: Bug 444157: [Proxy] Migrate SeaMonkey's Proxies preferences to new pref window https://bugzilla.mozilla.org/show_bug.cgi?id=444157 Attachment 331983: pref-proxies patch v0.2d https://bugzilla.mozilla.org/attachment.cgi?id=331983&action=edit ------- Additional Comments from neil@parkwaycc.co.uk <neil@httl.net> That said, showing it on startup is not a problem, but remember to check that the element exists first - only the browser window ...

superreview requested: [Bug 444157] [Proxy] Migrate SeaMonkey's Proxies preferences to new pref window : [Attachment 331864] pref-proxies patch v0.2c
Ian Neal <iann_bugzilla@blueyonder.co.uk> has asked neil@parkwaycc.co.uk <neil@httl.net> for superreview: Bug 444157: [Proxy] Migrate SeaMonkey's Proxies preferences to new pref window https://bugzilla.mozilla.org/show_bug.cgi?id=444157 Attachment 331864: pref-proxies patch v0.2c https://bugzilla.mozilla.org/attachment.cgi?id=331864&action=edit ------- Additional Comments from Ian Neal <iann_bugzilla@blueyonder.co.uk> Changes since v0.2b: * Added missing changes to utilityOverlay.* - used disable rather than hidden for system proxy menu item due to issues...

superreview canceled: [Bug 444157] [Proxy] Migrate SeaMonkey's Proxies preferences to new pref window : [Attachment 331864] pref-proxies patch v0.2c
Ian Neal <iann_bugzilla@blueyonder.co.uk> has canceled Ian Neal <iann_bugzilla@blueyonder.co.uk>'s request for superreview: Bug 444157: [Proxy] Migrate SeaMonkey's Proxies preferences to new pref window https://bugzilla.mozilla.org/show_bug.cgi?id=444157 Attachment 331864: pref-proxies patch v0.2c https://bugzilla.mozilla.org/attachment.cgi?id=331864&action=edit ...

superreview granted: [Bug 444157] [Proxy] Migrate SeaMonkey's Proxies preferences to new pref window : [Attachment 332132] pref-proxies patch v0.2e
Ian Neal <iann_bugzilla@blueyonder.co.uk> has granted superreview: Bug 444157: [Proxy] Migrate SeaMonkey's Proxies preferences to new pref window https://bugzilla.mozilla.org/show_bug.cgi?id=444157 Attachment 332132: pref-proxies patch v0.2e https://bugzilla.mozilla.org/attachment.cgi?id=332132&action=edit ------- Additional Comments from Ian Neal <iann_bugzilla@blueyonder.co.uk> Changes since v0.2d: * Added check for existence of "network-proxy-system" element Carrying forward sr= ...

superreview requested: [Bug 444157] [Proxy] Migrate SeaMonkey's Proxies preferences to new pref window : [Attachment 331983] pref-proxies patch v0.2d
Ian Neal <iann_bugzilla@blueyonder.co.uk> has asked neil@parkwaycc.co.uk <neil@httl.net> for superreview: Bug 444157: [Proxy] Migrate SeaMonkey's Proxies preferences to new pref window https://bugzilla.mozilla.org/show_bug.cgi?id=444157 Attachment 331983: pref-proxies patch v0.2d https://bugzilla.mozilla.org/attachment.cgi?id=331983&action=edit ------- Additional Comments from Ian Neal <iann_bugzilla@blueyonder.co.uk> Changes since v0.2c: * Unhides menuitem through load event instead of popup. ...

Preferences->Proxies->No-Proxy multiline textarea.
In Bug 613198 Ewong changed the "No Proxy for" list UI from a textbox to a multiline textarea. This is similar to the Firefox Bug 566444 (Make Proxy Exceptions Multi Line) except that they made an additional change to the sanitize regexp: https://hg.mozilla.org/mozilla-central/annotate/218771a2c9db/browser/components/preferences/connection.js#l162 sanitizeNoProxiesPref: function() { var noProxiesPref = document.getElementById("network.proxy.no_proxies_on"); // replace substrings of ; and \n with commas if they're neither immediately // p...

Proxy authentication and master password: Firefox 3 doesn't remember proxy password
Name: Romano Signorelli Product: Firefox Summary: Proxy authentication and master password: Firefox 3 doesn't remember proxy password Comments: Hello, if one or more tabs was opened last session (and I closed Firefox saving tabs), the next time I'll start Firefox it will ask for Proxy authentication rather then asking just the master password. I'm using Firefox 3 beta 3. Best regards, Romano Signorelli Browser Details: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9b3) Gecko/2008020514 Firefox/3.0b3 ...

using WWW::Mechanize thru proxy to https(SSL) with website/form authentication, proxy error!!
--32398890-494149942-1321998190=:23922 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Here is the prob description in short:=0A=0A=0A1.=A0=A0=A0 post your url in= browser: https://myrel/files/file.doc=0A2.=A0=A0=A0 you get a logon page (= URL still looking same)=0A3.=A0=A0=A0 enter field names:=A0 username/passwo= rd=0A4.=A0=A0=A0 press 'ok' button (name =3D bsubmit)=0A=0A=A0=A0=A0 after = successful login:=0A5.=A0=A0=A0 you get new page:=A0=A0=A0 https://myurl/pa= gSuccess/=0A6.=A0=A0=A0 you have to click 'ok'=A0 ( field nam...

Spambo Proxy and AV Proxy
How will the two of these react together. eg Spambo and Nav as an example?? Thanks Chris ...

Web resources about - Proxy preferences (authenticated proxy) - mozilla.dev.tech.xul

Resources last updated: 11/25/2015 6:00:40 AM