diff options
author | gorhill <rhill@raymondhill.net> | 2015-06-10 11:30:57 -0400 |
---|---|---|
committer | gorhill <rhill@raymondhill.net> | 2015-06-10 11:30:57 -0400 |
commit | 5c536052693b928e93d183a8aa26a28ff5ef9e63 (patch) | |
tree | b62c2b4ea07831ef5cbd83b7abdd6195fa0b790a /src | |
parent | d08c713263aa41726df77acded8658126ee7c415 (diff) | |
download | uBlock-5c536052693b928e93d183a8aa26a28ff5ef9e63.zip uBlock-5c536052693b928e93d183a8aa26a28ff5ef9e63.tar.gz uBlock-5c536052693b928e93d183a8aa26a28ff5ef9e63.tar.bz2 |
this fixes #312
Diffstat (limited to 'src')
-rw-r--r-- | src/3p-filters.html | 1 | ||||
-rw-r--r-- | src/css/3p-filters.css | 11 | ||||
-rw-r--r-- | src/js/3p-filters.js | 8 |
3 files changed, 19 insertions, 1 deletions
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"></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', ''); |