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 606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
617 subscription: "EasyList" | 617 subscription: "EasyList" |
618 } | 618 } |
619 }); | 619 }); |
620 | 620 |
621 // user-defined filter | 621 // user-defined filter |
622 panel.sendMessage({ | 622 panel.sendMessage({ |
623 type: "add-record", | 623 type: "add-record", |
624 request: { | 624 request: { |
625 url: "http://example.com/some-annoying-popup", | 625 url: "http://example.com/some-annoying-popup", |
626 type: "POPUP", | 626 type: "POPUP", |
627 docDomain: "example.com" | 627 docDomain: "" |
628 }, | 628 }, |
629 filter: { | 629 filter: { |
630 text: "||example.com/some-annoying-popup$popup", | 630 text: "||example.com/some-annoying-popup$popup", |
631 whitelisted: false, | 631 whitelisted: false, |
632 userDefined: true, | 632 userDefined: true, |
633 subscription: null | 633 subscription: null |
634 } | 634 } |
635 }); | 635 }); |
636 }); | 636 }); |
637 }()); | 637 }()); |
OLD | NEW |