This repository was archived by the owner on Nov 15, 2017. It is now read-only.
File tree 5 files changed +294
-142
lines changed
5 files changed +294
-142
lines changed Original file line number Diff line number Diff line change @@ -77,16 +77,17 @@ <h3>Whitelists/blacklists</h3>
77
77
< div id ="lists ">
78
78
< div style ="white-space:nowrap; "> <!-- begin template 'stats' -->
79
79
< div >
80
- Whitelisted domains :< br >
81
- Blacklisted domains :
80
+ Whitelisted hostnames :< br >
81
+ Blacklisted hostnames :
82
82
</ div >
83
83
< div >
84
84
< span id ="whitelistCount "> </ span > < br >
85
85
< span id ="blacklistCount "> </ span >
86
86
</ div >
87
87
< div style ="margin:1em 0 0 0;display:block;text-align:left ">
88
- Blacklists:< ul id ="remoteBlacklists " style ="margin:0;color:gray ">
89
- < li id ="remoteBlacklistDetails " style ="display:none "> < a href =""> </ a >  (fetched at < span class ="downloadTime "> </ span > on < span class ="downloadDate "> </ span > )</ li >
88
+ < span id ="blacklistReadonlyCount "> ?</ span > preset blacklisted hostnames from:
89
+ < ul id ="remoteBlacklists " style ="margin:0;color:gray ">
90
+ < li id ="remoteBlacklistDetails " style ="display:none "> < a href =""> </ a >
90
91
</ ul >
91
92
</ div >
92
93
</ div > <!-- end template 'stats' -->
Original file line number Diff line number Diff line change @@ -132,9 +132,6 @@ function renderBlacklistDetails() {
132
132
a = $ ( 'a' , li ) ;
133
133
a . attr ( 'href' , keys [ i ] ) ;
134
134
a . text ( keys [ i ] ) ;
135
- date . setTime ( blacklist . timeStamp ) ;
136
- $ ( '.downloadTime' , li ) . text ( date . toLocaleTimeString ( ) ) ;
137
- $ ( '.downloadDate' , li ) . text ( date . toLocaleDateString ( ) ) ;
138
135
ul . append ( li ) ;
139
136
}
140
137
@@ -187,7 +184,8 @@ function renderStats() {
187
184
var allowedStats = requestStats . allowed ;
188
185
renderNumbers ( {
189
186
'#whitelistCount' : httpsb . temporaryScopes . scopes [ '*' ] . white . count ,
190
- '#blacklistCount' : httpsb . blacklistReadonly . count + httpsb . temporaryScopes . scopes [ '*' ] . black . count ,
187
+ '#blacklistCount' : httpsb . temporaryScopes . scopes [ '*' ] . black . count ,
188
+ '#blacklistReadonlyCount' : httpsb . blacklistReadonly . count ,
191
189
'#blockedAllCount' : requestStats . blocked . all ,
192
190
'#blockedMainFrameCount' : blockedStats . main_frame ,
193
191
'#blockedCookieCount' : blockedStats . cookie ,
You can’t perform that action at this time.
0 commit comments