Left: | ||
Right: |
OLD | NEW |
---|---|
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-2016 Eyeo GmbH | 3 * Copyright (C) 2006-2016 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 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
308 { | 308 { |
309 var blocked = params.blockedURLs.split(","); | 309 var blocked = params.blockedURLs.split(","); |
310 if (blocked.indexOf(url) >= 0) | 310 if (blocked.indexOf(url) >= 0) |
311 return new modules.filterClasses.BlockingFilter(); | 311 return new modules.filterClasses.BlockingFilter(); |
312 else | 312 else |
313 return null; | 313 return null; |
314 } | 314 } |
315 } | 315 } |
316 }; | 316 }; |
317 | 317 |
318 modules.cssRules = { | 318 modules.elemHideEmulation = { |
319 CSSRules: { | 319 ElemHideEmulation: { |
320 getRulesForDomain: function(domain) { } | 320 getRulesForDomain: function(domain) { } |
Thomas Greiner
2016/11/07 13:27:08
Detail: It doesn't look like this function is even
Felix Dahlke
2016/11/21 17:33:06
Would you be OK with a separate noissue commit for
kzar
2016/11/21 19:14:59
IMO if it's not used we might as well just remove
Thomas Greiner
2016/11/22 12:04:10
That's fine, yeah.
| |
321 } | 321 } |
322 }; | 322 }; |
323 | 323 |
324 modules.filterNotifier = { | 324 modules.filterNotifier = { |
325 FilterNotifier: new EventEmitter() | 325 FilterNotifier: new EventEmitter() |
326 }; | 326 }; |
327 | 327 |
328 modules.info = { | 328 modules.info = { |
329 platform: "gecko", | 329 platform: "gecko", |
330 platformVersion: "34.0", | 330 platformVersion: "34.0", |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
480 | 480 |
481 if (params.safariContentBlocker) | 481 if (params.safariContentBlocker) |
482 { | 482 { |
483 global.safari = { | 483 global.safari = { |
484 extension: { | 484 extension: { |
485 setContentBlocker: function() {} | 485 setContentBlocker: function() {} |
486 } | 486 } |
487 }; | 487 }; |
488 } | 488 } |
489 })(this); | 489 })(this); |
OLD | NEW |