Created
December 26, 2018 03:43
-
-
Save KCCat/23f1ba4e1a025a2c4f914fe72557e4d4 to your computer and use it in GitHub Desktop.
Revisions
-
KCCat created this gist
Dec 26, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ function FindProxyForURL(url, host) { "use strict"; var lIst = [ "bayescom.com", "adsdk.dmzj.com", "umeng.com", ]; var eNd = lIst.some(function(E,I,A){ if(host.indexOf(E) != -1) return true; }); if (eNd) {return "SOCKS5 0.0.0.0:0";} else {return "DIRECT";} }