Setting up a proxy for a specific url in chrome extension
问题 I'm working on a chrome extension where a button click would trigger a function that calls a specific url and gets back the response. This specific url needs to be accessed through a proxy. All other requests are handled normally. It seemed like pac file would fit the bill nicely, but there is one problem with it. The url that I need to access through a proxy has a path in in, like so: https://www.myurl.com/segment-1/segment-2/segment-3 The PAC example I lifted from Chrome documentation is