SHARE
TWEET

Untitled

a guest Apr 21st, 2019 630 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var V2Ray = "SOCKS5 127.0.0.1:1080; SOCKS 127.0.0.1:1080; DIRECT;";
  2. var domains = [
  3.   "graphql.cn",
  4.   "gitter.im",
  5.   "amazonaws.com",
  6.   "raw.githubusercontent.com",
  7.   "githubusercontent.com",
  8.   "github.io",
  9.   "vpngate.net",
  10.   "greatfire.org",
  11.   "tox.im",
  12.   "proxifier.com",
  13.   "dnscrypt.org",
  14.   "atgfw.org",
  15.   "chinagfw.org",
  16.   "whatismyip.com",
  17.   "goagentplus.com",
  18.   "shadowsocks.org",
  19.   "falcop.com",
  20.   "getlantern.org",
  21.   "furbo.org",
  22.   "goagentx.com",
  23.   "github.com",
  24.   "sourceforge.net",
  25.   "torproject.org",
  26.   "hideme.io",
  27.   "mozilla.org",
  28.   "shadowx.work",
  29.   "v2ray.com",
  30.   "astrill.com",
  31.  
  32.   //Design
  33.   "deviantart.com",
  34.  
  35.   "disqus.com",
  36.   "disquscdn.com",
  37.   "tumblr.com",
  38.   "flickr.com",
  39.   "imgur.com",
  40.  
  41.   "evozi.com",
  42.   "live.com",
  43.   "1drv.com",
  44.   "evernote.com",
  45.  
  46.   //blog
  47.   "wp.com",
  48.   "yam.com",
  49.   "ashchan.com",
  50.   "zuckclub.com",
  51.   "blogspot.com",
  52.   "blogspot.jp",
  53.   "zalex2014.tk",
  54.   "coreygilmore.com",
  55.   "wordpress.com",
  56.   "blogimg.jp",
  57.   "leaskh.com",
  58.   "blogger.com",
  59.   "hexo.io",
  60.   "medium.com",
  61.  
  62.   //GeneralNews
  63.   "rfi.my",
  64.   "rfi.fr",
  65.   "washingtonpost.com",
  66.   "tmagazine.com",
  67.   "nytimes.com",
  68.   "nytimg.com",
  69.   "imrworldwide.com",
  70.   "rankingsandreviews.com",
  71.   "usnews.com",
  72.   "bbc.co.uk",
  73.   "bbci.co.uk",
  74.   "bbc.com",
  75.   "on-match.com",
  76.   "solidot.org",
  77.  
  78.   //TechNews
  79.   "engadget.com",
  80.  
  81.   //Network
  82.   "amazonaws.com",
  83.   "fastly.net",
  84.   "akamaihd.net",
  85.   "blogsmithmedia.com",
  86.   "bit.ly",
  87.   "d.pr",
  88.   "ow.ly",
  89.   "ift.tt",
  90.  
  91.   "nateparrott.com",
  92.  
  93.   "stacksocial.com",
  94.   "feedly.com",
  95.   "acgtea.com",
  96.  
  97.   //academy and develop
  98.   "ieee.org",
  99.   "mathoverflow.net",
  100.   "tex.stackexchange.com",
  101.   "academia.edu",
  102.   "geogebra.org",
  103.   "golang.org",
  104.   "netspeak.org",
  105.   "endreslab.com",
  106.  
  107.   //Universities
  108.   "illinois.edu",
  109.   "berkeley.edu",
  110.   "wisc.edu",
  111.   "cmu.edu",
  112.   "rochester.edu",
  113.   "purdue.edu",
  114.   "technolutions.net",
  115.  
  116.   "netflix.com",
  117.  
  118.   //Online Dictionary
  119.   "ldoceonline.com",
  120.   "freedicts.com",
  121.  
  122.   //Softwares
  123.   "formacx.com",
  124.   "trionworlds.com",
  125.   "line.me",
  126.  
  127.   //otaku
  128.   "e-hentai.org",
  129.   "nhentai.net",
  130.   "nicovideo.jp",
  131.   "nimg.jp",
  132.   "pixnet.net",
  133.   "fc2.com",
  134.   "nyaatorrents.org",
  135.   "nyaa.se",
  136.   "share.dmhy.org",
  137.   "loli.us",
  138.  
  139.   //facebook
  140.   "facebook.net",
  141.   "instagram.com",
  142.   "facebook.com",
  143.   "fb.me",
  144.   "cdninstagram.com",
  145.   "fbcdn.net",
  146.  
  147.   "booth.pm",
  148.  
  149.   "telegram.org",
  150.   "telegram.me",
  151.  
  152.   "wikipedia.org",
  153.   "pixiv.net",
  154.   "twitch.tv",
  155.  
  156.   //Twitter
  157.   "twitter.com",
  158.   "t.co",
  159.   "twimg.com",
  160.  
  161.   //Google
  162.   "gmail.com",
  163.   "googlemail.com",
  164.   "mailchimp.com",
  165.   "mail-archive.com",
  166.   "google.com",
  167.   "goo.gl",
  168.   "google.com.hk",
  169.   "google.com.tw",
  170.   "google.co.jp",
  171.   "googlecode.com",
  172.   "googleapis.com",
  173.   "ggpht.com",
  174.   "youtube.com",
  175.   "youtu.be",
  176.   "ytimg.com",
  177.   "youtube-nocookie.com",
  178.   "googlevideo.com",
  179.   "sketchup.com",
  180.   "gstatic.com",
  181.   "google-analytics.com",
  182.   "googleusercontent.com",
  183.   "chrome.com",
  184.   "g.co",
  185.   "googledrive.com",
  186.   "googletagmanager.com",
  187.   "googleadservices.com",
  188.   "abc.xyz",
  189.  
  190.   //Dropbox
  191.   "dropbox.com",
  192.   "dropboxusercontent.com",
  193.   "dropboxwiki.com",
  194.  
  195.   //iTuens
  196.   "mzstatic.com",
  197.   "itunes.apple.com",
  198.  
  199.   //cdn
  200.   "cloudfront.net",
  201.   "colwiz.com"
  202. ];
  203. function dnsDomainIs(host, domain) {
  204.   var idx = host.length - domain.length;
  205.   return (
  206.     host == domain || (idx > 0 && host.lastIndexOf("." + domain) == idx - 1)
  207.   );
  208. }
  209.  
  210. function FindProxyForURL(url, host) {
  211.   for (var i = 0; i < domains.length; i++) {
  212.     if (dnsDomainIs(host, domains[i])) {
  213.       return V2Ray;
  214.     }
  215.   }
  216.   return "DIRECT";
  217. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top