Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Perl script to add sock proxy settings for firefox

by moritz (Cardinal)
on Jun 06, 2014 at 20:25 UTC ( [id://1089106]=note: print w/replies, xml ) Need Help??


in reply to Perl script to add sock proxy settings for firefox

 $prefs->setIntPref('network.proxy.socks', 23.19.58.245)

Try to put that IP address in quotes; otherwise it produces something that is very likely to surprise you:

$ perl -wE 'say 23.19.58.245'
:�

Replies are listed 'Best First'.
Re^2: Perl script to add sock proxy settings for firefox
by Pretty_Boy_Hacka (Initiate) on Jun 07, 2014 at 16:49 UTC

    when I do it that way this is the error message I get:

    Proxy type 1 MozRepl::RemoteObject: NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) nsIPrefBranch.setIntPref at ./Proxy_settings_vs_1_5.pl line 31.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1089106]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-20 06:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found