CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate:
Open Chrome from windows and change proxy settings

 



ambidexter
New User

Jun 26, 2013, 10:08 PM

Post #1 of 1 (788 views)
Open Chrome from windows and change proxy settings Can't Post

Hi all ,

Am using this below code to open Google Chrome web browser from Windows 7 PC, and its working fine. But Can i also change the proxy settings of Google Chrome using some additional code ?


Code
sub open_default_browser { 
my $url = shift;
my $platform = $^O;
my $cmd;
if ($platform eq 'MSWin32') { $cmd = "start $url"; } # Win95..Win7
if (defined $cmd) {
system($cmd);
} else {
die "Can't locate default browser";
}
}

open_default_browser("http://www.gmail.com/");


 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives