aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgorhill <rhill@raymondhill.net>2015-06-10 11:30:57 -0400
committergorhill <rhill@raymondhill.net>2015-06-10 11:30:57 -0400
commit5c536052693b928e93d183a8aa26a28ff5ef9e63 (patch)
treeb62c2b4ea07831ef5cbd83b7abdd6195fa0b790a
parentd08c713263aa41726df77acded8658126ee7c415 (diff)
downloaduBlock-5c536052693b928e93d183a8aa26a28ff5ef9e63.zip
uBlock-5c536052693b928e93d183a8aa26a28ff5ef9e63.tar.gz
uBlock-5c536052693b928e93d183a8aa26a28ff5ef9e63.tar.bz2
this fixes #312
-rw-r--r--assets/checksums.txt2
-rw-r--r--assets/ublock/filter-lists.json3
-rw-r--r--src/3p-filters.html1
-rw-r--r--src/css/3p-filters.css11
-rw-r--r--src/js/3p-filters.js8
5 files changed, 22 insertions, 3 deletions
diff --git a/assets/checksums.txt b/assets/checksums.txt
index 3ffb88e..01ae00d 100644
--- a/assets/checksums.txt
+++ b/assets/checksums.txt
@@ -2,7 +2,7 @@
b8fd6f6a836d34e0629dca07424d7bd8 assets/ublock/privacy.txt
841bde1d6f0e702554d2d858da55603f assets/ublock/filters.txt
c9c5cc56bec563bc1885847f925b9be2 assets/ublock/mirror-candidates.txt
-4bd4f0a6d79c34028c1de7bf3bdc5943 assets/ublock/filter-lists.json
+343afa7da2abf47c258355815f732ce4 assets/ublock/filter-lists.json
94c0a3eab74c42783855f07b22a429cf assets/thirdparties/home.fredfiber.no/langsholt/adblock.txt
fc30b0ab9c531f8f95a288d165f01634 assets/thirdparties/www.zoso.ro/pages/rolist.txt
72373316d0e7ad22604d307c2d93e7cc assets/thirdparties/adblock.gardar.net/is.abp.txt
diff --git a/assets/ublock/filter-lists.json b/assets/ublock/filter-lists.json
index f0c2ed8..2eac403 100644
--- a/assets/ublock/filter-lists.json
+++ b/assets/ublock/filter-lists.json
@@ -239,7 +239,8 @@
"title": "Anti-Adblock Killer | Reek",
"group": "ads",
"homeURL": "https://raw.githubusercontent.com/reek/anti-adblock-killer/master/anti-adblock-killer-filters.txt",
- "supportURL": "https://github.com/reek/anti-adblock-killer"
+ "supportURL": "https://github.com/reek/anti-adblock-killer",
+ "instructionURL": "https://github.com/reek/anti-adblock-killer#instruction"
},
"raw.githubusercontent.com/szpeter80/hufilter/master/hufilter.txt": {
"off": true,
diff --git a/src/3p-filters.html b/src/3p-filters.html
index 8915958..c20e713 100644
--- a/src/3p-filters.html
+++ b/src/3p-filters.html
@@ -42,6 +42,7 @@
<li class="listEntry">
<input type="checkbox">
<a type="text/plain" target="_blank" href=""></a>
+ <a class="fa" style="display: none;" target="_blank">&#xf05a;</a>
<a href="" style="display: none;" target="_blank"></a>: <!--
--><span class="dim"></span><!--
 --><span class="status unsecure" style="display: none;">http</span><!--
diff --git a/src/css/3p-filters.css b/src/css/3p-filters.css
index 9884044..f59af33 100644
--- a/src/css/3p-filters.css
+++ b/src/css/3p-filters.css
@@ -56,6 +56,17 @@ li.listEntry > * {
unicode-bidi: embed;
}
li.listEntry > a:nth-of-type(2) {
+ font-size: 16px;
+ opacity: 0.7;
+ }
+li.listEntry > a:nth-of-type(2),
+li.listEntry > a:nth-of-type(2):visited {
+ color: mediumblue;
+ }
+li.listEntry > a:nth-of-type(2):hover {
+ opacity: 1;
+ }
+li.listEntry > a:nth-of-type(3) {
font-size: 13px;
opacity: 0.5;
}
diff --git a/src/js/3p-filters.js b/src/js/3p-filters.js
index 1330b21..ebf6ac6 100644
--- a/src/js/3p-filters.js
+++ b/src/js/3p-filters.js
@@ -103,8 +103,14 @@ var renderFilterLists = function() {
elem.attr('data-listkey', listKey);
elem.text(listNameFromListKey(listKey) + '\u200E');
- if ( entry.supportName ) {
+ if ( entry.instructionURL ) {
elem = li.descendants('a:nth-of-type(2)');
+ elem.attr('href', entry.instructionURL);
+ elem.css('display', '');
+ }
+
+ if ( entry.supportName ) {
+ elem = li.descendants('a:nth-of-type(3)');
elem.attr('href', entry.supportURL);
elem.text('(' + entry.supportName + ')');
elem.css('display', '');