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

Side by Side Diff: background.js

Issue 29555936: Issue 5781 - Remove message responder code for emulated element hiding filters (Closed)
Patch Set: Created Sept. 25, 2017, 11:10 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | messageResponder.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-present eyeo GmbH 3 * Copyright (C) 2006-present eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 matchesAny(url, requestType, docDomain, thirdParty) 369 matchesAny(url, requestType, docDomain, thirdParty)
370 { 370 {
371 let blocked = params.blockedURLs.split(","); 371 let blocked = params.blockedURLs.split(",");
372 if (blocked.indexOf(url) >= 0) 372 if (blocked.indexOf(url) >= 0)
373 return new modules.filterClasses.BlockingFilter(); 373 return new modules.filterClasses.BlockingFilter();
374 return null; 374 return null;
375 } 375 }
376 } 376 }
377 }; 377 };
378 378
379 modules.elemHideEmulation = {
380 ElemHideEmulation: {}
381 };
382
383 modules.filterNotifier = { 379 modules.filterNotifier = {
384 FilterNotifier: new EventEmitter() 380 FilterNotifier: new EventEmitter()
385 }; 381 };
386 382
387 modules.info = { 383 modules.info = {
388 platform: "gecko", 384 platform: "gecko",
389 platformVersion: "34.0", 385 platformVersion: "34.0",
390 application: "firefox", 386 application: "firefox",
391 applicationVersion: "34.0", 387 applicationVersion: "34.0",
392 addonName: "adblockplus", 388 addonName: "adblockplus",
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
595 }, 591 },
596 filter: { 592 filter: {
597 text: "||example.com/some-annoying-popup$popup", 593 text: "||example.com/some-annoying-popup$popup",
598 whitelisted: false, 594 whitelisted: false,
599 userDefined: true, 595 userDefined: true,
600 subscription: null 596 subscription: null
601 } 597 }
602 }); 598 });
603 }); 599 });
604 }()); 600 }());
OLDNEW
« no previous file with comments | « no previous file | messageResponder.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld