I don't know how to do this per tab but in the mean time one thing you may want to read up on is the Proxy PAC file format. [1][2] In that file you can use domain name patterns to send traffic to different proxies, bypass proxies, sink-hole traffic, etc... You can probably find some examples of this file using google and "site:github.com proxy pac example". I know that doesn't really answer your question but it might accomplish some of the intent.