min behind a proxy

Created on 20 Apr 2016  路  11Comments  路  Source: minbrowser/min

Hello everybody,

I would like to use min behind a proxy.

How can I do that ?

Thanks for all

enhancement

All 11 comments

Most operating systems have a setting to use a proxy - For example, OS X instructions are here. If you enable a proxy in your operating system, it should work in Min.

There currently isn't a way to set a proxy for just Min, but it wouldn't be too difficult to add that using the session.setProxy API.

@PalmerAL I use XUBUNTU on my enterprise and I can't change any file of system. So, That is why it is better to add proxy setting on web browser MIN. ;-)

Hi,
are there any plans to get proxy settings in min-browser ?
thanks

Would be nice if You add separate proxy settings.

love min's simplty. Yes. I'm looking forward to proxy setting feature, with proxy auto-config even better.

It's really useful to have custom proxy settings because I don't want to proxy the whole system and I need to set different proxy ports for different applications.

to set proxy globally, for all sessions, you can set the relevant chromium command line flag before electron app ready event like so:

const proxyHost = '127.0.0.1:8888'
electron.app.commandLine.appendSwitch('proxy-server', proxyHost)

TOR proxy:

const proxyHost = 'socks5://127.0.0.1:9050' 
app.commandLine.appendSwitch('proxy-server', proxyHost)

I was able to add a simple proxy tor host to my session as @PalmerAL stated in main.js, now I'm developing a component in settings where you can switch proxy on or off and set proxy host and port by input.

If you don't want to set proxy system-wide, just run Min with --proxy-server option.

HTTP/HTTPS: min --proxy-server=address:port

SOCKS: min --proxy-server=socks5://address:port

That's not the case, then you can't switch back to normal middle session or switch to other proxy.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bjadel picture bjadel  路  5Comments

PEPERSO picture PEPERSO  路  7Comments

shalva97 picture shalva97  路  6Comments

BillDietrich picture BillDietrich  路  5Comments

dj-sash picture dj-sash  路  7Comments