Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: files/sources.js

Issue 8483154: Adding ABP core modules to ABP/Opera (Closed)
Patch Set: Created Oct. 9, 2012, 9:51 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: files/sources.js
===================================================================
deleted file mode 100644
--- a/files/sources.js
+++ /dev/null
@@ -1,190 +0,0 @@
-//The content of each list, if downloaded, is stored in NAME-content
-//If a list is added, remember to add a type and a name value as well
-const sources = {
- fanboy: {
- 'fanboy':'https://www.fanboy.co.nz/adblock/opera/urlfilter.ini',
- 'fanboy-ru':'https://www.fanboy.co.nz/adblock/opera/rus/urlfilter.ini',
- 'fanboy-es':'https://www.fanboy.co.nz/adblock/opera/esp/urlfilter.ini',
- 'fanboy-ja':'https://www.fanboy.co.nz/adblock/opera/jpn/urlfilter.ini',
- 'fanboy-cz':'https://www.fanboy.co.nz/adblock/opera/cz/urlfilter.ini',
- 'fanboy-tr':'https://www.fanboy.co.nz/adblock/opera/trky/urlfilter.ini',
- 'fanboy-pl':'https://www.fanboy.co.nz/adblock/opera/pol/urlfilter.ini',
- 'fanboy-vi':'https://www.fanboy.co.nz/adblock/opera/vtn/urlfilter.ini',
- 'fanboy-sv':'https://www.fanboy.co.nz/adblock/opera/swe/urlfilter.ini',
- 'fanboy-zh':'http://www.fanboy.co.nz/adblock/opera/chn/urlfilter.ini',
- 'fanboy-ko':'http://www.fanboy.co.nz/adblock/opera/krn/urlfilter.ini',
- 'fanboy-ann':'https://secure.fanboy.co.nz/fanboy-addon.txt'
- },
- easy: {
- 'easy':'https://easylist-downloads.adblockplus.org/easylist.txt',
- 'easy-ru':'https://ruadlist.googlecode.com/svn/trunk/advblock.txt',
- 'easy-de':'https://easylist-downloads.adblockplus.org/easylistgermany.txt',
- 'easy-fr':'http://lian.info.tm/liste_fr.txt',
- 'easy-zh':'https://adblock-chinalist.googlecode.com/svn/trunk/adblock.txt',
- 'easy-id':'https://indonesianadblockrules.googlecode.com/hg/subscriptions/abpindo.txt',
- 'easy-bg':'http://stanev.org/abp/adblock_bg.txt',
- 'easy-ja':'https://adblock-plus-japanese-filter.googlecode.com/hg/abp_jp.txt',
- //'easy-no':'http://home.online.no/~mlangsho/adblock.txt',
- 'easy-el':'https://www.void.gr/kargig/void-gr-filters.txt',
- 'easy-pl':'http://adblocklist.org/adblock-pxf-polish.txt',
- 'easy-nl':'https://dutchadblockfilters.googlecode.com/svn/trunk/AdBlock_Dutch_hide.txt',
- 'easy-ro':'http://www.zoso.ro/pages/rolist.txt',
- 'easy-fi':'http://www.wiltteri.net/wiltteri.txt',
- 'easy-es':'http://abp.mozilla-hispano.org/nauscopio/filtros.txt',
- 'easy-hu':'http://ajnasz.hu/adblock/recent'
- },
- others: {
- 'peter':'http://pgl.yoyo.org/as/serverlist.php?hostformat=operafilter&showintro=0&mimetype=plaintext&',
- 'adblock-lv':'https://gitorious.org/adblock-latvian/adblock-latvian/blobs/raw/master/lists/urlfilter.ini',
-
- //'jab':'http://www.jabcreations.com/downloads/adblock-filters.php'
- },
- privacy: {
- 'easy-priv':'https://easylist-downloads.adblockplus.org/easyprivacy.txt',
- 'easy-ru-priv':'https://ruadlist.googlecode.com/svn/trunk/cntblock.txt'
- },
- all: function() {
- var value = {};
- for (var i in this.fanboy) { value[i] = this.fanboy[i]; }
- for (var i in this.easy) { value[i] = this.easy[i]; }
- for (var i in this.others) { value[i] = this.others[i]; }
- for (var i in this.privacy) { value[i] = this.privacy[i]; }
- return value;
- },
- style: { //Defines if the list is opera-style or adblock-style
- 'fanboy':'opera',
- 'fanboy-es':'opera',
- 'fanboy-ja':'opera',
- 'fanboy-tr':'opera',
- 'fanboy-ru':'opera',
- 'fanboy-pl':'opera',
- 'fanboy-vi':'opera',
- 'fanboy-sv':'opera',
- 'fanboy-zh':'opera',
- 'fanboy-ko':'opera',
- 'fanboy-cz':'opera',
- 'fanboy-ann':'adblock',
- 'peter':'opera',
- 'adblock-lv':'opera',
- 'jab':'adblock',
- 'easy':'adblock',
- 'easy-ru':'adblock',
- 'easy-de':'adblock',
- 'easy-fr':'adblock',
- 'easy-zh':'adblock',
- 'easy-id':'adblock',
- 'easy-bg':'adblock',
- 'easy-ja':'adblock',
- 'easy-no':'adblock',
- 'easy-el':'adblock',
- 'easy-pl':'adblock',
- 'easy-nl':'adblock',
- 'easy-ro':'adblock',
- 'easy-fi':'adblock',
- 'easy-es':'adblock',
- 'easy-hu':'adblock',
- 'easy-priv':'adblock',
- 'easy-ru-priv':'adblock'
- },
- css: {
- 'fanboy-css':'https://www.fanboy.co.nz/adblock/opera/fanboy-adblocklist-elements-v4.css',
- 'easy-ru-css':'http://adblock.googlecode.com/svn/trunk/adblock.css',
- 'adblock-lv-css':'https://gitorious.org/adblock-latvian/adblock-latvian/blobs/raw/master/lists/element-filter.css'
- },
- url: function(key) {
- return this.all()[key];
- },
- name: function(key) {
- var value = this.names[key];
- return translate.substring(value);
- },
- names: {
- //List
- 'fanboy':'#main_list#',
- 'fanboy-ru':'#ru#',
- 'fanboy-es':'#pt# / #es#',
- 'fanboy-ja':'#ja#',
- 'fanboy-tr':'#tr#',
- 'fanboy-pl':'#pl#',
- 'fanboy-vi':'#vi#',
- 'fanboy-sv':'#sv#',
- 'fanboy-cz':'#cz#',
- 'fanboy-zh':'#zh# (#deprecated#)',
- 'fanboy-ko':'#ko# (#deprecated#)',
- 'fanboy-ann':'#annoyance#',
-
- 'easy':'#main_list#',
- 'easy-ru':'#ru#',
- 'easy-de':'#de#',
- 'easy-fr':'#fr#',
- 'easy-zh':'#zh#',
- 'easy-id':'#id#',
- 'easy-bg':'#bg#',
- 'easy-ja':'#ja#',
- 'easy-no':'#no#',
- 'easy-el':'#el#',
- 'easy-pl':'#pl#',
- 'easy-nl':'#nl#',
- 'easy-ro':'#ro#',
- 'easy-fi':'#fi#',
- 'easy-es':'#es#',
- 'easy-hu':'#hu#',
-
- 'peter':'Peter Lowe',
- 'jab':'JAB Creations',
- 'adblock-lv':'#lv#',
-
- //Privacy
- 'easy-priv':'EasyPrivacy',
- 'easy-ru-priv':'EasyPrivacy (#ru#)',
-
- //CSS
- 'fanboy-css':'Fanboy',
- 'easy-ru-css':'EasyList (#ru#)',
- 'adblock-lv-css':'#lv#'
- },
- license: {
- //List
- 'fanboy':'#fanboy_license#',
- 'fanboy-ru':'#fanboy_license#',
- 'fanboy-es':'#fanboy_license#',
- 'fanboy-ja':'#fanboy_license#',
- 'fanboy-tr':'#fanboy_license#',
- 'fanboy-pl':'#fanboy_license#',
- 'fanboy-vi':'#fanboy_license#',
- 'fanboy-sv':'#fanboy_license#',
- 'fanboy-cz':'#fanboy_license#',
- 'fanboy-zh':'#fanboy_license#',
- 'fanboy-ko':'#fanboy_license#',
- 'fanboy-ann':'#fanboy_license#',
-
- 'easy':"#easy_license#",
- 'easy-ru':"#cc_by# - denis-ovs, Akuma, Lain_13, Radik245",
- 'easy-de':"#easy_license#",
- 'easy-fr':"#cc_by_nc_sa# - <a href='http://adblock-listefr.com/'>adblock-listefr.com</a>",
- 'easy-zh':"#gnu_lgpl#",
- 'easy-id':"#gnu_gpl# - #cc_by_sa# - The ABPindo authors",
- 'easy-bg':"#no_license#",
- 'easy-ja':"#cc_by_sa# - k2japan, looter, lostincarnation, tanahata",
- 'easy-el':"#cc_by_sa# - kargig",
- 'easy-pl':"#no_license#",
- 'easy-nl':"#cc_by#",
- 'easy-ro':"#no_license#",
- 'easy-fi':"#cc_by_sa#",
- 'easy-es':"#cc_by_nc_sa# - maty",
- 'easy-hu':"#no_license#",
-
- 'peter':'© Peter Lowe',
- 'adblock-lv':"#cc_by_nc_sa# - <a href='http://adblock-latvian.epit.lv'>http://adblock-latvian.epit.lv/</a>",
-
- //Privacy
- 'easy-priv':"#easy_license#",
- 'easy-ru-priv':"#cc_by#",
-
- //CSS
- 'fanboy-css':"#cc_by_sa# - <a href='https://www.fanboy.co.nz'>Fanboy</a>",
- //Creative Commons 3.0 BY-SA
- 'easy-ru-css':"© ELV1S and Adblock Team",
- 'adblock-lv-css':"#cc_by_nc_sa#"
- }
-};

Powered by Google App Engine
This is Rietveld