Skip to content
This repository was archived by the owner on Nov 15, 2017. It is now read-only.

Commit 86609bd

Browse files
committed
time to set ABP filtering on by default
1 parent b9c2071 commit 86609bd

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

js/abp-filters.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323

2424
(function(){
2525

26+
/******************************************************************************/
27+
2628
var allowFilterDict = {};
2729
var blockFilterDict = {};
2830
var allowFilterCount = 0;
@@ -299,14 +301,15 @@ var add = function(s) {
299301

300302
processedFilterCount += 1;
301303

302-
// Ignore whitelist filters
304+
// Whitelist filters
303305
var whitelistFilter = reWhitelist.test(s);
304306
if ( whitelistFilter ) {
305307
s = s.replace('@@', '');
306308
}
307309

308310
// Ignore unsupported filters
309311
if ( reIgnoreFilter.test(s) ) {
312+
// console.log('HTTP Switchboard> abp-filter.js/add(): ignoring "%s"', s);
310313
return false;
311314
}
312315

@@ -318,6 +321,7 @@ var add = function(s) {
318321

319322
// Ignore rules with other conditions for now
320323
if ( reConditionalRule.test(s) ) {
324+
// console.log('HTTP Switchboard> abp-filter.js/add(): ignoring "%s"', s);
321325
return false;
322326
}
323327

js/background.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ var HTTPSB = {
3737
deleteLocalStorage: false,
3838
displayTextSize: '13px',
3939
maxLoggedRequests: 50,
40-
parseAllABPFilters: false,
40+
parseAllABPFilters: true,
4141
popupHideBlacklisted: false,
4242
popupCollapseDomains: false,
4343
popupCollapseSpecificDomains: {},

0 commit comments

Comments
 (0)