mirror of
https://github.com/anticensority/runet-censorship-bypass.git
synced 2024-11-27 20:03:45 +03:00
23 lines
301 KiB
JavaScript
23 lines
301 KiB
JavaScript
|
function FindProxyForURL(url, host) {
|
||
|
// ProstoVPN.AntiZapret PAC-ip File
|
||
|
// Generated on Sun Nov 22 10:12:29 MSK 2015
|
||
|
|
||
|
// The whole PAC script is reevaluated on each call of this function.
|
||
|
|
||
|
host = host.replace(/\.+$/).toLowerCase(); // E.g. WinHTTP may be nasty.
|
||
|
|
||
|
// HTTPS proxy is a HTTP proxy over SSL. It is NOT CONNECT proxy!
|
||
|
// Supported only in Chrome and Firefox.
|
||
|
// http://www.chromium.org/developers/design-documents/secure-web-proxy
|
||
|
// This is to bypass FULL DPI
|
||
|
var isIE = /*@cc_on!@*/!1;
|
||
|
var viaProxy = isIE
|
||
|
? 'PROXY proxy.antizapret.prostovpn.org:3128; DIRECT'
|
||
|
: 'HTTPS proxy.antizapret.prostovpn.org:3143; PROXY proxy.antizapret.prostovpn.org:3128; DIRECT';
|
||
|
|
||
|
return (function ifProxyByHash(host, hostsHash) {
|
||
|
while(!hostsHash[host])
|
||
|
host = (host+'.').replace(/^\w*\./g);
|
||
|
return host.length !== 0;
|
||
|
})(host, {"":true,"03magnet.ru":true,"0chan.cc":true,"1-kino.com":true,"1-x-bet.com":true,"1-x-sport-bet.com":true,"1-xbet.com":true,"1.alkodostavka24.ru":true,"10-casino.net":true,"1001casino.com":true,"100boicov.blogspot.ru":true,"100casino.net":true,"100diplomov.com":true,"11.flge.biz":true,"11.t-a.biz":true,"1226608.sites.myregisteredsite.com":true,"123.ej.ru":true,"12sex.ru":true,"144chan.org":true,"149.202.17.160":true,"149.202.17.161":true,"153.122.22.137":true,"16model.net":true,"18-sexy.com":true,"18boyz.com":true,"18chan.info":true,"18chan.net":true,"198.44.66.58":true,"1chan.inach.org":true,"1gde-mozhno-kuritelnye-smesi-v-kazanii.fiton.biz":true,"1king.com":true,"1ksam.com":true,"1prostitutka.ru":true,"1teenporn.com":true,"1torrent.net":true,"1tourism.ru":true,"1x-bet.com":true,"1xbet.com":true,"1xbet1.com":true,"1xbet2.com":true,"1xbetbk.com":true,"2-chru.cafe":true,"2-chru.net":true,"2-ndfl.com":true,"2-ndfl.info":true,"209.95.34.50":true,"212.71.244.40":true,"22.t-a.biz":true,"222rc.biz":true,"222rc.net":true,"22rc.biz":true,"24-klad.com":true,"24.caivp.biz":true,"247.caivp.biz":true,"24dv.biz":true,"24kino.org":true,"24klad.co":true,"24klad.com":true,"24open.com.ua":true,"24ora.biz":true,"24playcasino.com":true,"24volcano.com":true,"24volcano.net":true,"24vulcan.com":true,"24vulkan.com":true,"24vulkan.net":true,"24vulkan.org":true,"26rc.biz":true,"28ps.biz":true,"2chru.cafe":true,"2chru.net":true,"2doppai.blog.jp":true,"2dosug777.com":true,"2f2.biz":true,"2m2.biz":true,"2molotka.ru":true,"2ndfl-perm.ru":true,"2ndfl.info":true,"2ndfl.org":true,"2ndflorg.com":true,"2ndflvolg.com":true,"2ndflvolg.net":true,"2porno.net":true,"2shefa.com":true,"2zi-gazo.com":true,"33.t-a.biz":true,"33slots.com":true,"37.48.120.102":true,"3dosug777.com":true,"3reich-collector.com":true,"3tuza.com":true,"3tuza.net":true,"44.t-a.biz":true,"4chanarchives.cu.cc":true,"4dosug777.com":true,"4emstore.com":true,"4ertik.org":true,"4fun.mksat.net":true,"4musik.ru":true,"4party.biz":true,"4smoking.net":true,"5089841.bstpoint.com":true,"5099651.bstpoint.com":true,"55.t-a.biz":true,"5chka.myfreeforum.org":true,"5dosug777.com":true,"5pocket.net":true,"6-w.biz":true,"66.t-a.biz":true,"666-games.org":true,"69e.ru":true,"6dosug777.com":true,"6hoes.com":true,"6nw.im":true,"7-ka.org":true,"74diploma.com":true,"74girls.com":true,"77.t-a.biz":true,"777-avtomaty.com":true,"777-freeslots.com":true,"777-onlineslots.net":true,"777-slot.org":true,"777planet.com":true,"777rc.biz":true,"777slot.at":true,"777slot.info":true,"777slot777.com":true,"777slotsvolcano.com":true,"777vulkan.com":true,"7ba.ru":true,"7chan.org":true,"8-800-555-36-37.com":true,"888poker.ru":true,"888promos.com":true,"888slots.com":true,"8ch.net":true,"911-truth.net":true,"93.174.93.226":true,"95.211.184.169":true,"990z.com":true,"99torrents.net":true,"9nudist.com":true,"9taxi.com":true,"a-hentai.com":true,"a-mks.ru":true,"a4x.ru":true,"aa.eurogrand.com":true,"aa.prestigecasino.com":true,"aa.skykingscasino.com":true,"aa.williamhillcasino.com":true,"aai.unipr.it":true,"abdullah.abdulvahab.tripod.com":true,"abonenty-chast1.pw":true,"abonenty-chast2.pw":true,"abonenty-chast3.pw":true,"absolyutnii.ru":true,"abur.tv":true,"abusalima770.blogspot.co.uk":true,"ac.eurogrand.com":true,"acme.legal":true,"acmerc.biz":true,"activeseeds.com":true,"adaltfilm.com":true,"adigeya-krd.biz":true,"adiploms.com":true,"adklighting.ru":true,"admiral-games.com":true,"admiralcasinogames.com":true,"admiralcc.com":true,"admiralgameslots.com":true,"admiralslotclub.com":true,"adrenlfztn4zuk7k.onion.to":true,"adressnaya-knizechka.science":true,"ads.bahhar.net":true,"ads.prodom.by":true,"ads.prodom.kz":true,"ads.prodom.kznwww.goods.prodom.kz":true,"ads.prodom.kznwww.jumeke.prodom.kz":true,"ads.prodom.kznwww.mebel.prodom.kz":true,"ads.prodom.ru":true,"ads.prodom.rudled.prodom.ru":true,"ads.prodom.runwww.goods.prodom.ru":true,"ads.prodom.rupalladin.prodom.ru":true,"ads.prodom.rurusholding.prodom.ru":true,"adult-forum.org":true,"adult-village.info":true,"adultcomicsfan.com":true,"adventusvideo.com":true,"advice-me.ru
|
||
|
}
|