| Index: background.js |
| diff --git a/background.js b/background.js |
| index ff1f2d471a08c7b90e6b839336086bf0c3c30755..f71b87710ca577c0960eb4253195ede09ae507c8 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) { } |
| + } |
| + }; |
| + |
| 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 |