You are here

Want to start Google Chrome with proxy command

5 posts / 0 new
Last post
Kian83
Offline
Last seen: 14 years 2 months ago
Joined: 2010-01-26 07:24
Want to start Google Chrome with proxy command

Hi!

I want to start Google Chrome with the command --proxy-server=localhost:8080. I read that it is possible to include this command in the exe file. But trying to do this since a couple of hours. Is there any tutorial or something similar?

radarman36
radarman36's picture
Offline
Last seen: 12 years 7 months ago
Joined: 2009-05-20 09:44
Use Chrome Portable Parameters

Simply download Google Chrome Portable here : https://portableapps.com/node/22324
Then, copy the file GoogleChromePortable.ini which is located into the Other/Source folder to the launcher directory. Edit this ini with Notepad and search the line named "AdditionalParameters", and add after the equal your command,--proxy-server=localhost:8080. Save this file, and enjoy Smile

AlainCo
Offline
Last seen: 4 years 1 month ago
Joined: 2013-03-18 10:45
Does not work as said today ? but finally work...

Hi,
I've just used that trick.
I've edited the Other/Source/GoogleChromePortable.ini
the line
AdditionalParameters= --proxy-server=127.0.0.1:8080

it does not work and even adding --assert-test or --crash-test (or --assert-test=true or --crash-test=true) change nothing.

It works well if I make a shortcut with that parameter:
...\PortableApps\GoogleChromePortable\GoogleChromePortable.exe --proxy-server=127.0.0.1:8080

I would prefer it works in the launcher.

The best would be an option to use the proxy parameter of the launcher

anyway, it works and it is nice.

Bennieboj
Bennieboj's picture
Offline
Last seen: 4 years 9 months ago
Joined: 2010-09-16 07:28
Wrong location

Option1:
You said you've edited "Other/Source/GoogleChromePortable.ini".
The ini file has to be located next to the GoogleChromePortable.exe. (simply copy paste)

Option2:
You can check the passed command line by using Process Explorer Portable:

  1. open it
  2. select the process you want
  3. right click, properties
  4. Command line, check the last part

If the command line parameter is present, maybe the parameter itself is incorrect?

Yes, I set the working directory!

AlainCo
Offline
Last seen: 4 years 1 month ago
Joined: 2013-03-18 10:45
Thanks... it works!

Thanks for the explanation.
I missed the copy of .ini to .exe launcher directory...
It works perfectly.

sorry for the inconvenience.

Log in or register to post comments