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-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 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
438 } | 438 } |
439 ); | 439 ); |
440 } | 440 } |
441 else if (typeof response != "undefined") | 441 else if (typeof response != "undefined") |
442 { | 442 { |
443 reply(response); | 443 reply(response); |
444 } | 444 } |
445 } | 445 } |
446 }); | 446 }); |
447 | 447 |
448 window.Services = { | 448 window.Cu = { |
449 vc: { | 449 import() |
450 compare(v1, v2) | 450 { |
451 { | 451 return { |
452 return parseFloat(v1) - parseFloat(v2); | 452 Services: { |
453 } | 453 vc: { |
| 454 compare(v1, v2) |
| 455 { |
| 456 return parseFloat(v1) - parseFloat(v2); |
| 457 } |
| 458 } |
| 459 } |
| 460 }; |
454 } | 461 } |
455 }; | 462 }; |
456 | 463 |
457 let filters = [ | 464 let filters = [ |
458 "@@||alternate.de^$document", | 465 "@@||alternate.de^$document", |
459 "@@||der.postillion.com^$document", | 466 "@@||der.postillion.com^$document", |
460 "@@||taz.de^$document", | 467 "@@||taz.de^$document", |
461 "@@||amazon.de^$document", | 468 "@@||amazon.de^$document", |
462 "||biglemon.am/bg_poster/banner.jpg", | 469 "||biglemon.am/bg_poster/banner.jpg", |
463 "winfuture.de###header_logo_link", | 470 "winfuture.de###header_logo_link", |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
603 }, | 610 }, |
604 filter: { | 611 filter: { |
605 text: "||example.com/some-annoying-popup$popup", | 612 text: "||example.com/some-annoying-popup$popup", |
606 whitelisted: false, | 613 whitelisted: false, |
607 userDefined: true, | 614 userDefined: true, |
608 subscription: null | 615 subscription: null |
609 } | 616 } |
610 }); | 617 }); |
611 }); | 618 }); |
612 }()); | 619 }()); |
OLD | NEW |