Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting ProxMate's pac_script
12-22-2015, 08:30 AM (This post was last modified: 12-23-2015 11:09 PM by cw2k.)
Post: #1
Getting ProxMate's pac_script
ProxMate is browseraddon to easy get around 'geo-ip-base' limitation.
for ex hulu.com/watch/883936
Will not work when you are in Russia.
If you use a proxy that is in the US you can solve that problem

ProxMate is limited to a 14 day trial - well you may reset this by setting a new email.
However digging deeper, about 90% of ProxMate is its PAC-script.

Quote:A PAC file or Proxy Auto-Configuration file defines how web browsers can automatically select an
appropriate proxy for accessing a given URL. More

So once you have this PAC you'll not really need ProxMate anymore.
Its a little pitty that chrome hides this a little in the normal GUI.
But this are 2 ways to get it:

chrome://net-internals/#proxy
+ BASE64 decoder

then other way ctrl+shift+i Console: and enter
chrome.proxy.settings.get({} , function(config) {console.log( config)});

Copy&Paste that JavaScript-OneLiner into http://jsbeautifier.org and there it is:
The PAC:
PHP Code:
function FindProxyForURL(urlhost) {
    
    if ((
host == 'www.abc.net.au') ||                  
                (
host == 'iview.abc.net.au') ||  
                (
host == 'iviewmetered-vh.akamaihd.net') ||  
                (
url.indexOf('proxmate=au') != -1) ||  
                (
host == 'livestream.com') ||  
                (
host == 'www.livestream.com') ||  
                (
host == 'api.new.livestream.com') ||  
                (
host == 'player.ooyala.com') ||  
                (
host == 'xnewsvidhd-vh.akamaihd.net') ||  
                (
host == 'www.animelab.com') ||  
                (
host == 'dcgm6i50yfgtk.cloudfront.net')) {
        return 
'PROXY au-node.proxmate.me:8008'

    
} else if (    (url.indexOf('proxmate=ca') != -1) ||  
                (
host == 'ici.tou.tv') ||  
                (
host == 'toutvuniver1-vh.akamaihd.net') ||  
                (
host == 'geoip.radio-canada.ca') ||  
                (
host == 'api.radio-canada.ca') ||  
                (
host == 'images.tou.tv') ||  
                (
host == 'player.siriusxm.ca') ||  
                (
host == 'primary.hls-streaming.production.streaming.siriusxm.ca') ||  
                (
host == 'now.sportsnet.ca') ||  
                (
host == 'watch.sportsnet.ca') ||  
                (
host == 'player.9c9media.com') ||  
                (
host == 'metrics.ctv.ca') ||  
                (
host == 'capi.9c9media.com') ||  
                (
host == 'www.ctv.ca')) {
        return 
'PROXY ca-node.proxmate.me:8008'

    
} else if (    (host == 'arte.tv') ||  
                (
host == 'www.arte.tv') ||  
                (
host == 'geoftv-a.akamaihd.net') ||  
                (
host == 'hdfauthftv-a.akamaihd.net') ||  
                (
host == 'replayftv-vh.akamaihd.net') ||  
                (
host == 'ftvingest-vh.akamaihd.net') ||  
                (
host == 'live.francetv.fr') ||  
                (
host == 'd8.tv') ||  
                (
host == 'www.d8.tv') ||  
                (
host == 'us-cplus-aka.canal-plus.com') ||  
                (
host == 'hds_live_d8_aka-lh.akamaihd.net') ||  
                (
host == 'd17.tv') ||  
                (
host == 'www.d17.tv') ||  
                (
host == 'hds_live_d17_aka-lh.akamaihd.net') ||  
                (
url.indexOf('proxmate=fr') != -1) ||  
                (
host == 'www.6play.fr') ||  
                (
host == 'geo.6cloud.fr') ||  
                (
host == 'proxy-021.dc3.dailymotion.com') ||  
                (
host == 'proxy-67.dailymotion.com') ||  
                (
host == 'prof.estat.com') ||  
                (
host == 'metrics.dailymotion.com') ||  
                (
host == 'www.dailymotion.com') ||  
                (
host == 'vmap.snappytv.com')) {
        return 
'PROXY fr-node.proxmate.me:8008'

    
} else if (    (host == 'vod-akamai-psd-hds.p7s1digital.de') ||  
                (
host == 'vas.sim-technik.de') ||  
                (
url.indexOf('proxmate=de') != -1) ||  
                (
host == 'nightclub.de') ||  
                (
host == 'zdf.de') ||  
                (
host == 'www.zdf.de') ||  
                (
host == 'zdf_hds_de-f.akamaihd.net') ||  
                (
host == 'api.nowtv.de') ||  
                (
host == 'delivestream-lh.akamaihd.net') ||  
                (
host == 'cdnapi.kaltura.com') ||  
                (
host == 'disneychannel.de') ||  
                (
host == 'www.southpark.de')) {
        return 
'PROXY de-node.proxmate.me:8008'

    
} else if (    (host == 'www.tg4.ie') ||  
                (
url.indexOf('proxmate=ie') != -1)) {
        return 
'PROXY ie-node.proxmate.me:8008'

    
} else if (    (host == 'rai.tv') ||  
                (
host == 'www.rai.tv') ||  
                (
host == 'mediapolis.rai.it') ||  
                (
host == 'www.rai.it') ||  
                (
host == 'stream5.rai.it') ||  
                (
host == 'stream6.rai.it') ||  
                (
host == 'stream7.rai.it') ||  
                (
host == 'sspushrai1-s.akamaihd.net') ||  
                (
host == 'sspushrai2-s.akamaihd.net') ||  
                (
host == 'sspushraisport2-s.akamaihd.net') ||  
                (
host == 'sspushrai3-s.akamaihd.net') ||  
                (
host == 'secondary.adaptiveedge.rai.it') ||  
                (
host == 'rai-italia01.wt-eu02.net') ||  
                (
host == 'download.rai.tv') ||  
                (
host == 'mediapolisvod.rai.it') ||  
                (
host == 'ww.rai.tv') ||  
                (
host == '.xuniplay.fdnames.com') ||  
                (
url.indexOf('xuniplay.fdnames.com') != -1) ||  
                (
host == 'se-to1-8.se.live3.msf.ticdn.it') ||  
                (
host == 'live.shinystat.com') ||  
                (
host == 'lic.mediaset.net') ||  
                (
host == 'cssr.video.mediaset.it') ||  
                (
url.indexOf('proxmate=it') != -1) ||  
                (
host == 'www.vvvvid.it')) {
        return 
'PROXY it-node.proxmate.me:8008'

    
} else if (    (host == 'telecinco.es') ||  
                (
host == 'telecinco1-vh.akamaihd.net') ||  
                (
host == 'www.telecinco.es') ||  
                (
url.indexOf('proxmate=es') != -1) ||  
                (
host == 'antena3.com') ||  
                (
host == 'www.antena3.com') ||  
                (
host == 'geodesprogresiva.antena3.com') ||  
                (
host == 'rtve.es') ||  
                (
host == 'www.rtve.es') ||  
                (
host == 'ztnr.rtve.es') ||  
                (
host == 'mvodt.lvlt.rtve.es') ||  
                (
host == 'swf.rtve.es') ||  
                (
host == 'cuatro.com') ||  
                (
host == 'www.cuatro.com') ||  
                (
host == 'cuatro1-vh.akamaihd.net') ||  
                (
host == 'peliculas-online.atresplayer.com') ||  
                (
host == 'servicios.atresplayer.com') ||  
                (
host == 'atresplayer.com') ||  
                (
host == 'www.atresplayer.com') ||  
                (
host == 'k.uecdn.es') ||  
                (
host == 'v.uecdn.es') ||  
                (
host == 'as.com') ||  
                (
host == 'ep00.epimg.net')) {
        return 
'PROXY es-node.proxmate.me:8008'

    
} else if (    (host == 'prosieben.ch') ||  
                (
host == 'www.prosieben.ch') ||  
                (
host == 'vas.sim-technik.de') ||  
                (
host == 's1tv.ch') ||  
                (
host == 'www.s1tv.ch') ||  
                (
host == 'zba2-0-hds-live.zahs.tv') ||  
                (
host == 'embed-zattoo.com') ||  
                (
host == 'chtv.ch') ||  
                (
host == 'www.chtv.ch') ||  
                (
host == 'zba2-1-hds-live.zahs.tv') ||  
                (
host == 'sat1.ch') ||  
                (
host == 'www.sat1.ch') ||  
                (
host == 'rsi.ch') ||  
                (
host == 'www.rsi.ch') ||  
                (
host == 'codch-vh.akamaihd.net') ||  
                (
host == 'il.srgssr.ch') ||  
                (
host == 'ch.viva.tv') ||  
                (
host == 'intl.esperanto.mtvi.com') ||  
                (
url.indexOf('proxmate=ch') != -1) ||  
                (
host == 'zattoo.com') ||  
                (
host == 'www.srf.ch') ||  
                (
host == 'srgssruni1ch-lh.akamaihd.net') ||  
                (
host == 'srgssruni2ch-lh.akamaihd.net') ||  
                (
host == 'srgssruni3ch-lh.akamaihd.net') ||  
                (
host == 'www.teleboy.ch') ||  
                (
host == 'aka-cdn-ns.adtech.de') ||  
                (
host == 'teleboy.customers.cdn.iptv.ch')) {
        return 
'PROXY ch-node.proxmate.me:8008'

    
} else if (    (host == 'bbc.co.uk') ||  
                (
host == 'www.bbc.co.uk') ||  
                (
host == 'fig.bbc.co.uk') ||  
                (
host == 'vs-hds-uk-live.bbcfmt.vo.llnwd.net') ||  
                (
host == 'open.live.bbc.co.uk') ||  
                (
host == 'vod-hds-uk-live.edgesuite.net') ||  
                (
host == 'vod-hds-uk-live.bbcfmt.vo.llnwd.net') ||  
                (
host == 'r.bbci.co.uk') ||  
                (
host == 'vod-rtmp-uk-live.edgesuite.net') ||  
                (
host == 'component.iplayer.api.bbc.co.uk') ||  
                (
host == 'c.brightcove.com') ||  
                (
host == 'secure.brightcove.com') ||  
                (
host == 'metrics.brightcove.com') ||  
                (
host == 'stv-ak.cds1.yospace.com') ||  
                (
host == 'core.stvfiles.com') ||  
                (
host == 'player.stv.tv') ||  
                (
host == 'stv.brightcove.com.edgesuite.net') ||  
                (
host == 'uk-dev-stv.cdn.videoplaza.tv') ||  
                (
host == 'mercury.itv.com') ||  
                (
host == 'www.itv.com') ||  
                (
host == 'itv.com') ||  
                (
host == 'llnw.live.btv.simplestream.com') ||  
                (
host == 'players.simplestream.com') ||  
                (
host == 'uapi.simplestream.com') ||  
                (
host == 'channel4.com') ||  
                (
host == 'ais.channel4.com') ||  
                (
host == 'pandr.my.channel4.com') ||  
                (
host == '4id.channel4.com') ||  
                (
host == 'all4nav.channel4.com') ||  
                (
host == 'channel5.com') ||  
                (
host == 'wwwcdn.channel5.com') ||  
                (
host == 'cassie.channel5.com') ||  
                (
host == 'player.channel5.com') ||  
                (
host == 'deliver-hls.channel5.com') ||  
                (
host == 'akahls.channel5.com') ||  
                (
host == 'llnwhls.channel5.com') ||  
                (
host == 'milkshake.tv') ||  
                (
host == 'www.milkshake.tv') ||  
                (
host == 'trk-euwest.tidaltv.com') ||  
                (
host == 'mp.adverts.itv.com') ||  
                (
host == 'req.tidaltv.com') ||  
                (
host == 's1.2mdn.net') ||  
                (
host == 'pes.itv.com') ||  
                (
host == 'ned.itv.com') ||  
                (
host == 'itvdotcom.2cnt.net') ||  
                (
host == 'tom.itv.com') ||  
                (
host == 'dave.uktv.co.uk') ||  
                (
host == 'uktvplay.uktv.co.uk') ||  
                (
host == 'uktvhdse.brightcove.com.edgesuite.net') ||  
                (
host == 'admin.brightcove.com') ||  
                (
host == 'really.uktv.co.uk') ||  
                (
host == 'yesterday.uktv.co.uk') ||  
                (
host == 'drama.uktv.co.uk') ||  
                (
host == 'live.tvplayer.com') ||  
                (
host == 'tvplayer.com') ||  
                (
host == 'sapi.tvplayer.com') ||  
                (
host == 'api.tvplayer.com') ||  
                (
host == 'www.gamefront.com') ||  
                (
url.indexOf('proxmate=uk') != -1)) {
        return 
'PROXY uk-node.proxmate.me:8008'

    
} else if (    (host == 'link.theplatform.com') ||  
                (
host == 'discidevflash-f.akamaihd.net') ||  
                (
host == 'api.geoip.dp.discovery.com') ||  
                (
host == 'vidtech.cbsinteractive.com') ||  
                (
host == 'vidtech.cbsima.com') ||  
                (
host == 'om.cbsi.com') ||  
                (
host == 'media.mtvnservices.com') ||  
                (
host == 'api-manga.crunchyroll.com') ||  
                (
host == 'crunchyroll.com') ||  
                (
host == 'www.crunchyroll.com') ||  
                (
host == 'cdn.wwtv.warnerbros.com') ||  
                (
host == 'hlsioscwtv.warnerbros.com') ||  
                (
host == 'media.cwtv.com') ||  
                (
host == 'servicesaetn-a.akamaihd.net') ||  
                (
host == 'live.mlssoccer.com') ||  
                (
host == 'tvewnbc-i.akamaihd.net') ||  
                (
host == 'tvenbceast-i.akamaihd.net') ||  
                (
host == 'nbcmpx-vh.akamaihd.net') ||  
                (
host == 'www.pandora.com') ||  
                (
host == 'video.pbs.org') ||  
                (
host == 'ga.video.cdn.pbs.org') ||  
                (
host == 'urs.pbs.org') ||  
                (
host == 'play.spotify.com') ||  
                (
host == 'www.spotify.com') ||  
                (
host == 'www.iheart.com') ||  
                (
host == 'api2.iheart.com') ||  
                (
host == 'api.iheart.com') ||  
                (
host == 'iheart.com') ||  
                (
host == 'nick.mtvnimages.com') ||  
                (
host == 'sni-vh.akamaihd.net') ||  
                (
url.indexOf('proxmate=us') != -1) ||  
                (
host == 'api.segment.io') ||  
                (
host == 'www.vevo.com') ||  
                (
host == 'vevo.com') ||  
                (
host == 'apiv2.vevo.com') ||  
                (
host == 'songza.com') ||  
                (
host == 'new.songza.com') ||  
                (
host == 'www.daisuki.net') ||  
                (
host == 'bngn-vh.akamaihd.net') ||  
                (
host == 'bngnwww.b-ch.com') ||  
                (
host == 'www.hbogo.com') ||  
                (
host == 'catalog.lv3.hbogo.com') ||  
                (
host == 'profile.lv3.hbogo.com') ||  
                (
host == 'profile.hbogo.com') ||  
                (
host == 'play.google.com') ||  
                (
host == 'checkout.google.com') ||  
                (
host == 'store.google.com') ||  
                (
host == 'apis.google.com') ||  
                (
host == 'amc350888def-vh.akamaihd.net') ||  
                (
host == 'a564avoddashnsus-a.akamaihd.net') ||  
                (
host == 'atv-ps.amazon.com') ||  
                (
host == 'secure.brightcove.com') ||  
                (
host == 'metrics.brightcove.com') ||  
                (
host == 'phds-vod.cdn.turner.com') ||  
                (
host == 'token.vgtf.net') ||  
                (
host == 'www.ondemandkorea.com') ||  
                (
host == 'www.fxnetworks.com') ||  
                (
host == 'fxvcms-f.akamaihd.net') ||  
                (
host == 'tvetelemundo-vh.akamaihd.net') ||  
                (
host == 'feed.theplatform.com') ||  
                (
host == 'fsvideohds-vh.akamaihd.net') ||  
                (
host == 'watchable.com') ||  
                (
host == 'cilhlsvod-f.akamaihd.net') ||  
                (
host == 'oxygenvod-vh.akamaihd.net') ||  
                (
host == 'tvesyfy-vh.akamaihd.net')) {
        return 
'PROXY us-node.proxmate.me:8008'

    
} else if (    (host == 'livestreams.omroep.nl') ||  
                (
host == '.npostreaming.nl') ||  
                (
host == 'ida.omroep.nl') ||  
                (
host == 'npoplayer.omroep.nl') ||  
                (
host == 'www.zapp.nl') ||  
                (
host == 'tellerapi.omroep.nl') ||  
                (
host == 'e.omroep.nl') ||  
                (
url.indexOf('proxmate=nl') != -1)) {
        return 
'PROXY nl-node.proxmate.me:8008'

    
} else if (    (host == 'tvthek.orf.at') ||  
                (
host == 'apasfiisl.apa.at') ||  
                (
host == 'orf.oewabox.at') ||  
                (
host == 'atvplus.oewabox.at') ||  
                (
host == 'cdn.atv.at') ||  
                (
url.indexOf('proxmate=at') != -1) ||  
                (
host == 'hdsvodsportsman-vh.akamaihd.net') ||  
                (
host == 'streamaccess.unas.tv') ||  
                (
host == 'www.livestation.com') ||  
                (
host == 'livestation.com') ||  
                (
url.indexOf('.emigrantas.tv') != -1)) {
        return 
'PROXY at-node.proxmate.me:8008'

    
} else if (    (host == 'netflix.com') ||  
                (
host == 'www.netflix.com') ||  
                (
host == 'cbp-us.nccp.netflix.com') ||  
                (
host == 'secure.netflix.com') ||  
                (
host == 'api-global.netflix.com') ||  
                (
host == 'ichnaea.netflix.com') ||  
                (
host == 'customerevents.netflix.com') ||  
                (
host == 's.thebrighttag.com')) {
        return 
'PROXY usnet-node.proxmate.me:8008'

    
} else if (    (url.indexOf('urlcheck.hulu.com') != -1) ||  
                (
host == 's.hulu.com') ||  
                (
host == 'www.funimation.com') ||  
                (
host == 'wpc.8c48.edgecastcdn.net') ||  
                (
host == 'southpark.cc.com') ||  
                (
host == 'api.utils.watchabc.go.com') ||  
                (
host == 'www.dramafever.com') ||  
                (
host == 'www.logotv.com') ||  
                (
host == 'media.mtvnservices.com') ||  
                (
host == 'api.watchabc.go.com')) {
        return 
'PROXY ush-node.proxmate.me:8008'

    
} else if (    (host == 'player.ooyala.com') ||  
                (
host == 'l.ooyala.com')) {
        return 
'PROXY auv-node.proxmate.me:8008'

    
} else if (    (host == 'web-api-us.crackle.com') ||  
                (
host == 'legacyweb-us.crackle.com')) {
        return 
'PROXY us2-node.proxmate.me:8000'

    
} else if (    (host == 'counter.yadro.ru') ||  
                (
host == 'turbik.tv')) {
        return 
'PROXY ru-node.proxmate.me:8008'
    
} else {
        return 
'DIRECT';
    }

Save it to PAC_script.js.

You use it like this:
[Image: network_settings.png]
Setting gets active when you click OK in the LAN-dialog.

In Internet Explorer 11, the WinINET team has disabled WinINET’s support for file:// based scripts ... temporary workaround ... the following registry key:

Code:
Key:   HKLM\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\
Value: EnableLegacyAutoProxyFeatures
Type:  REG_DWORD
Data:  1

In case you edit the script to try out stuff, keep the internet settings dialog open.

Attention windows is a little bitchy when reappling the LAN-setting:
  • A single [OK] will Do NOTHING so
  • To apply new settings you may do Activate [OK] Deactivate [OK] in the LAN-dialog what is a lot of clicking.
  • OR change/toggle the file name like this
    PAC_script.js <->
    PAC_script.jS
    so clicking [OK] will apply the new settings
  • Heiko Mayer's autoprox.zip
Find all posts by this user
Quote this message in a reply
12-26-2015, 09:39 AM
Post: #2
RE: Getting ProxMate's pac_script
You son, give me a nayn cat.

yeah.
Find all posts by this user
Quote this message in a reply
05-18-2016, 04:36 PM (This post was last modified: 05-18-2016 04:41 PM by Shadowchaser.)
Post: #3
RE: Getting ProxMate's pac_script
What's bad is this script doesn't work with youtube. Proxmate seems to have an other (hidden) way to unblock Youtube videos. I've been searching through the addon bit by bit but didn't find anything related. The only thing you can do is to manually add something like "&proxmate=us" to the url of a blocked clip. Or you add Youtube to the list of hosts inside the script (but this will redirect ALL videos).

But all in all, very good finding. Smile
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | Homepage | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication