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

Unified Diff: lib/antiadblockInit.js

Issue 5230613363687424: Issue 2592 - Adapt filters generated for anti-adblock notification to new syntax (Closed)
Patch Set: Created June 5, 2015, 11:30 a.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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/antiadblockInit.js
===================================================================
--- a/lib/antiadblockInit.js
+++ b/lib/antiadblockInit.js
@@ -51,7 +51,7 @@
{
for (let domain in filter.domains)
{
- let urlFilter = "||" + domain + "^";
+ let urlFilter = "||" + domain + "^$document";
if (domain && filter.domains[domain] && urlFilters.indexOf(urlFilter) == -1)
urlFilters.push(urlFilter);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld