OLD | NEW |
(Empty) | |
| 1 //The content of each list, if downloaded, is stored in NAME-content |
| 2 //If a list is added, remember to add a type and a name value as well |
| 3 const sources = { |
| 4 fanboy: { |
| 5 'fanboy':'https://www.fanboy.co.nz/adblock/opera/urlfilter.ini', |
| 6 'fanboy-ru':'https://www.fanboy.co.nz/adblock/opera/rus/urlfilte
r.ini', |
| 7 'fanboy-es':'https://www.fanboy.co.nz/adblock/opera/esp/urlfilte
r.ini', |
| 8 'fanboy-ja':'https://www.fanboy.co.nz/adblock/opera/jpn/urlfilte
r.ini', |
| 9 'fanboy-cz':'https://www.fanboy.co.nz/adblock/opera/cz/urlfilter
.ini', |
| 10 'fanboy-tr':'https://www.fanboy.co.nz/adblock/opera/trky/urlfilt
er.ini', |
| 11 'fanboy-pl':'https://www.fanboy.co.nz/adblock/opera/pol/urlfilte
r.ini', |
| 12 'fanboy-vi':'https://www.fanboy.co.nz/adblock/opera/vtn/urlfilte
r.ini', |
| 13 'fanboy-sv':'https://www.fanboy.co.nz/adblock/opera/swe/urlfilte
r.ini', |
| 14 'fanboy-zh':'http://www.fanboy.co.nz/adblock/opera/chn/urlfilter
.ini', |
| 15 'fanboy-ko':'http://www.fanboy.co.nz/adblock/opera/krn/urlfilter
.ini', |
| 16 'fanboy-ann':'https://secure.fanboy.co.nz/fanboy-addon.txt' |
| 17 }, |
| 18 easy: { |
| 19 'easy':'https://easylist-downloads.adblockplus.org/easylist.txt'
, |
| 20 'easy-ru':'https://ruadlist.googlecode.com/svn/trunk/advblock.tx
t', |
| 21 'easy-de':'https://easylist-downloads.adblockplus.org/easylistge
rmany.txt', |
| 22 'easy-fr':'http://lian.info.tm/liste_fr.txt', |
| 23 'easy-zh':'https://adblock-chinalist.googlecode.com/svn/trunk/ad
block.txt', |
| 24 'easy-id':'https://indonesianadblockrules.googlecode.com/hg/subs
criptions/abpindo.txt', |
| 25 'easy-bg':'http://stanev.org/abp/adblock_bg.txt', |
| 26 'easy-ja':'https://adblock-plus-japanese-filter.googlecode.com/h
g/abp_jp.txt', |
| 27 //'easy-no':'http://home.online.no/~mlangsho/adblock.txt', |
| 28 'easy-el':'https://www.void.gr/kargig/void-gr-filters.txt', |
| 29 'easy-pl':'http://adblocklist.org/adblock-pxf-polish.txt', |
| 30 'easy-nl':'https://dutchadblockfilters.googlecode.com/svn/trunk/
AdBlock_Dutch_hide.txt', |
| 31 'easy-ro':'http://www.zoso.ro/pages/rolist.txt', |
| 32 'easy-fi':'http://www.wiltteri.net/wiltteri.txt', |
| 33 'easy-es':'http://abp.mozilla-hispano.org/nauscopio/filtros.txt'
, |
| 34 'easy-hu':'http://ajnasz.hu/adblock/recent' |
| 35 }, |
| 36 others: { |
| 37 'peter':'http://pgl.yoyo.org/as/serverlist.php?hostformat=operaf
ilter&showintro=0&mimetype=plaintext&', |
| 38 'adblock-lv':'https://gitorious.org/adblock-latvian/adblock-latv
ian/blobs/raw/master/lists/urlfilter.ini', |
| 39 |
| 40 //'jab':'http://www.jabcreations.com/downloads/adblock-filters.p
hp' |
| 41 }, |
| 42 privacy: { |
| 43 'easy-priv':'https://easylist-downloads.adblockplus.org/easypriv
acy.txt', |
| 44 'easy-ru-priv':'https://ruadlist.googlecode.com/svn/trunk/cntblo
ck.txt' |
| 45 }, |
| 46 all: function() { |
| 47 var value = {}; |
| 48 for (var i in this.fanboy) { value[i] = this.fanboy[i]; } |
| 49 for (var i in this.easy) { value[i] = this.easy[i]; } |
| 50 for (var i in this.others) { value[i] = this.others[i]; } |
| 51 for (var i in this.privacy) { value[i] = this.privacy[i]; } |
| 52 return value; |
| 53 }, |
| 54 style: { //Defines if the list is opera-style or adblock-style |
| 55 'fanboy':'opera', |
| 56 'fanboy-es':'opera', |
| 57 'fanboy-ja':'opera', |
| 58 'fanboy-tr':'opera', |
| 59 'fanboy-ru':'opera', |
| 60 'fanboy-pl':'opera', |
| 61 'fanboy-vi':'opera', |
| 62 'fanboy-sv':'opera', |
| 63 'fanboy-zh':'opera', |
| 64 'fanboy-ko':'opera', |
| 65 'fanboy-cz':'opera', |
| 66 'fanboy-ann':'adblock', |
| 67 'peter':'opera', |
| 68 'adblock-lv':'opera', |
| 69 'jab':'adblock', |
| 70 'easy':'adblock', |
| 71 'easy-ru':'adblock', |
| 72 'easy-de':'adblock', |
| 73 'easy-fr':'adblock', |
| 74 'easy-zh':'adblock', |
| 75 'easy-id':'adblock', |
| 76 'easy-bg':'adblock', |
| 77 'easy-ja':'adblock', |
| 78 'easy-no':'adblock', |
| 79 'easy-el':'adblock', |
| 80 'easy-pl':'adblock', |
| 81 'easy-nl':'adblock', |
| 82 'easy-ro':'adblock', |
| 83 'easy-fi':'adblock', |
| 84 'easy-es':'adblock', |
| 85 'easy-hu':'adblock', |
| 86 'easy-priv':'adblock', |
| 87 'easy-ru-priv':'adblock' |
| 88 }, |
| 89 css: { |
| 90 'fanboy-css':'https://www.fanboy.co.nz/adblock/opera/fanboy-adbl
ocklist-elements-v4.css', |
| 91 'easy-ru-css':'http://adblock.googlecode.com/svn/trunk/adblock.c
ss', |
| 92 'adblock-lv-css':'https://gitorious.org/adblock-latvian/adblock-
latvian/blobs/raw/master/lists/element-filter.css' |
| 93 }, |
| 94 url: function(key) { |
| 95 return this.all()[key]; |
| 96 }, |
| 97 name: function(key) { |
| 98 var value = this.names[key]; |
| 99 return translate.substring(value); |
| 100 }, |
| 101 names: { |
| 102 //List |
| 103 'fanboy':'#main_list#', |
| 104 'fanboy-ru':'#ru#', |
| 105 'fanboy-es':'#pt# / #es#', |
| 106 'fanboy-ja':'#ja#', |
| 107 'fanboy-tr':'#tr#', |
| 108 'fanboy-pl':'#pl#', |
| 109 'fanboy-vi':'#vi#', |
| 110 'fanboy-sv':'#sv#', |
| 111 'fanboy-cz':'#cz#', |
| 112 'fanboy-zh':'#zh# (#deprecated#)', |
| 113 'fanboy-ko':'#ko# (#deprecated#)', |
| 114 'fanboy-ann':'#annoyance#', |
| 115 |
| 116 'easy':'#main_list#', |
| 117 'easy-ru':'#ru#', |
| 118 'easy-de':'#de#', |
| 119 'easy-fr':'#fr#', |
| 120 'easy-zh':'#zh#', |
| 121 'easy-id':'#id#', |
| 122 'easy-bg':'#bg#', |
| 123 'easy-ja':'#ja#', |
| 124 'easy-no':'#no#', |
| 125 'easy-el':'#el#', |
| 126 'easy-pl':'#pl#', |
| 127 'easy-nl':'#nl#', |
| 128 'easy-ro':'#ro#', |
| 129 'easy-fi':'#fi#', |
| 130 'easy-es':'#es#', |
| 131 'easy-hu':'#hu#', |
| 132 |
| 133 'peter':'Peter Lowe', |
| 134 'jab':'JAB Creations', |
| 135 'adblock-lv':'#lv#', |
| 136 |
| 137 //Privacy |
| 138 'easy-priv':'EasyPrivacy', |
| 139 'easy-ru-priv':'EasyPrivacy (#ru#)', |
| 140 |
| 141 //CSS |
| 142 'fanboy-css':'Fanboy', |
| 143 'easy-ru-css':'EasyList (#ru#)', |
| 144 'adblock-lv-css':'#lv#' |
| 145 }, |
| 146 license: { |
| 147 //List |
| 148 'fanboy':'#fanboy_license#', |
| 149 'fanboy-ru':'#fanboy_license#', |
| 150 'fanboy-es':'#fanboy_license#', |
| 151 'fanboy-ja':'#fanboy_license#', |
| 152 'fanboy-tr':'#fanboy_license#', |
| 153 'fanboy-pl':'#fanboy_license#', |
| 154 'fanboy-vi':'#fanboy_license#', |
| 155 'fanboy-sv':'#fanboy_license#', |
| 156 'fanboy-cz':'#fanboy_license#', |
| 157 'fanboy-zh':'#fanboy_license#', |
| 158 'fanboy-ko':'#fanboy_license#', |
| 159 'fanboy-ann':'#fanboy_license#', |
| 160 |
| 161 'easy':"#easy_license#", |
| 162 'easy-ru':"#cc_by# - denis-ovs, Akuma, Lain_13, Radik245", |
| 163 'easy-de':"#easy_license#", |
| 164 'easy-fr':"#cc_by_nc_sa# - <a href='http://adblock-listefr.com/'
>adblock-listefr.com</a>", |
| 165 'easy-zh':"#gnu_lgpl#", |
| 166 'easy-id':"#gnu_gpl# - #cc_by_sa# - The ABPindo authors", |
| 167 'easy-bg':"#no_license#", |
| 168 'easy-ja':"#cc_by_sa# - k2japan, looter, lostincarnation, tanaha
ta", |
| 169 'easy-el':"#cc_by_sa# - kargig", |
| 170 'easy-pl':"#no_license#", |
| 171 'easy-nl':"#cc_by#", |
| 172 'easy-ro':"#no_license#", |
| 173 'easy-fi':"#cc_by_sa#", |
| 174 'easy-es':"#cc_by_nc_sa# - maty", |
| 175 'easy-hu':"#no_license#", |
| 176 |
| 177 'peter':'© Peter Lowe', |
| 178 'adblock-lv':"#cc_by_nc_sa# - <a href='http://adblock-latvian.ep
it.lv'>http://adblock-latvian.epit.lv/</a>", |
| 179 |
| 180 //Privacy |
| 181 'easy-priv':"#easy_license#", |
| 182 'easy-ru-priv':"#cc_by#", |
| 183 |
| 184 //CSS |
| 185 'fanboy-css':"#cc_by_sa# - <a href='https://www.fanboy.co.nz'>Fa
nboy</a>", |
| 186 //Creative Commons 3.0 BY-SA |
| 187 'easy-ru-css':"© ELV1S and Adblock Team", |
| 188 'adblock-lv-css':"#cc_by_nc_sa#" |
| 189 } |
| 190 }; |
OLD | NEW |