Index: background.js |
diff --git a/background.js b/background.js |
index ff1f2d471a08c7b90e6b839336086bf0c3c30755..b1feac0b603930aec299c8501c000c0fcbadba8c 100644 |
--- a/background.js |
+++ b/background.js |
@@ -63,7 +63,7 @@ |
Prefs: { |
"subscriptions_exceptionsurl": "https://easylist-downloads.adblockplus.org/exceptionrules.txt" |
} |
- } |
+ }; |
modules.subscriptionClasses = { |
Subscription: function(url) |
@@ -164,9 +164,8 @@ |
modules.filterValidation = |
{ |
- parseFilter: function(text) |
+ parseFilter: function(text) |
{ |
- |
if (params.filterError) |
return {error: "Invalid filter"}; |
return {filter: modules.filterClasses.Filter.fromText(text)}; |
@@ -199,6 +198,12 @@ |
} |
}; |
+ modules.cssRules = { |
+ CSSRules: { |
+ getRulesForDomain: function(domain, specificOnly) { } |
+ } |
+ }; |
+ |
var notifierListeners = []; |
modules.filterNotifier = { |
FilterNotifier: { |
@@ -246,7 +251,7 @@ |
var filters = [ |
"@@||alternate.de^$document", |
- "@@||der.postillion.com^$document", |
+ "@@||der.postillion.com^$document", |
"@@||taz.de^$document", |
"@@||amazon.de^$document", |
"||biglemon.am/bg_poster/banner.jpg", |
@@ -281,7 +286,7 @@ |
global.seenDataCorruption = params.seenDataCorruption; |
global.filterlistsReinitialized = params.filterlistsReinitialized; |
- |
+ |
if (params.addSubscription) |
{ |
// We don't know how long it will take for the page to fully load |