Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: background.js

Issue 29716600: Issue 6292 - Make issue reporter compatible with test server (Closed)
Patch Set: Fixed nits Created March 12, 2018, 3:58 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ext/content.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: background.js
===================================================================
--- a/background.js
+++ b/background.js
@@ -163,6 +163,7 @@
let subscriptionDetails = {
[easyListGermany]: {
title: "EasyList Germany+EasyList",
+ filters: ["-ad-banner.", "-ad-big.", "-ad-bottom-", "-ad-button-"],
installed: true
},
[acceptableAds]: {
@@ -191,6 +192,7 @@
this.url = url;
this._disabled = false;
this._lastDownload = 1234;
+ this.filters = [];
this.homepage = "https://easylist.adblockplus.org/";
this.downloadStatus = params.downloadStatus;
@@ -199,6 +201,7 @@
{
this.disabled = !!details.disabled;
this.title = details.title || "";
+ this.filters = this.filters.concat(details.filters);
}
}
Subscription.prototype =
@@ -324,6 +327,10 @@
}
Filter.fromText = (text) => new Filter(text);
+ function ActiveFilter()
+ {
+ }
+
function BlockingFilter()
{
}
@@ -334,6 +341,7 @@
RegExpFilter.typeMap = Object.create(null);
modules.filterClasses = {
+ ActiveFilter,
BlockingFilter,
Filter,
RegExpFilter
« no previous file with comments | « no previous file | ext/content.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld