Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Perl script to add sock proxy settings for firefox

by moritz (Cardinal)
on Jun 06, 2014 at 20:25 UTC ( #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'
:�


Comment on Re: Perl script to add sock proxy settings for firefox
Download Code
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
Node Status?
node history
Node Type: note [id://1089106]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2014-08-30 10:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (293 votes), past polls