TLDR;
it's basically the same problem as this question here with a slightly different reason, on a different platform.
I would like to know whether it is possible to configure a custom captive portal detection URL for Chrome on Windows.
I live in mainland China, where practically all Google services are blocked, including the gstatic.com
domain. The specific URL http://www.gstatic.com/generate_204
however has been unblocked some time in 2018 (I believe), since Chrome is still widely used here, and it is the default captive portal detection URL of Chrome.
The problem is, due to my specific proxy setup I use to bypass the GFW (details of which I will not get into for time's sake), it is particularly difficult for me to do any kind of path filtering. I can filter by domain, but the problem is that gstatic.com
hosts various Google resources, all of which need to be funnelled through the proxy except for http://www.gstatic.com/generate_204
. As mentioned above, I have difficulty filtering by path. Therefore what I end up needing to do, is to have a rule that funnels all connections to gstatic.com
through the proxy, then every time I connect to a network that has a captive portal, manually disable my proxy and then re-enable it. It's not the end of the world, but it is a bit of an inconvenience nonetheless.
As mentioned by other helpful users in the aforementioned question, there are generate_204
services hosted by other servers - I can even host one on my own server. The problem is that I need a way to configure this URL for Chrome. Thus this question. I would like to know whether it is possible to configure a custom URL for Chrome on Windows, and if so how to do it exactly. Thank you.