| 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 384 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  395   updateFromURL(modules.info); |  395   updateFromURL(modules.info); | 
|  396  |  396  | 
|  397   modules.subscriptionInit = { |  397   modules.subscriptionInit = { | 
|  398     reinitialized: params.filterlistsReinitialized |  398     reinitialized: params.filterlistsReinitialized | 
|  399   }; |  399   }; | 
|  400  |  400  | 
|  401   modules.messaging = { |  401   modules.messaging = { | 
|  402     port: new EventEmitter() |  402     port: new EventEmitter() | 
|  403   }; |  403   }; | 
|  404  |  404  | 
 |  405   modules.coreUtils = { | 
 |  406     compareVersion(v1, v2) | 
 |  407     { | 
 |  408       return parseFloat(v1) - parseFloat(v2); | 
 |  409     } | 
 |  410   }; | 
 |  411  | 
|  405   window.addEventListener("message", (event) => |  412   window.addEventListener("message", (event) => | 
|  406   { |  413   { | 
|  407     if (event.data.type != "message") |  414     if (event.data.type != "message") | 
|  408       return; |  415       return; | 
|  409     let message = event.data.payload; |  416     let message = event.data.payload; | 
|  410     let {messageId} = event.data; |  417     let {messageId} = event.data; | 
|  411     let sender = { |  418     let sender = { | 
|  412       page: new ext.Page(event.source) |  419       page: new ext.Page(event.source) | 
|  413     }; |  420     }; | 
|  414  |  421  | 
| (...skipping 24 matching lines...) Expand all  Loading... | 
|  439           } |  446           } | 
|  440         ); |  447         ); | 
|  441       } |  448       } | 
|  442       else if (typeof response != "undefined") |  449       else if (typeof response != "undefined") | 
|  443       { |  450       { | 
|  444         reply(response); |  451         reply(response); | 
|  445       } |  452       } | 
|  446     } |  453     } | 
|  447   }); |  454   }); | 
|  448  |  455  | 
|  449   window.Services = { |  | 
|  450     vc: { |  | 
|  451       compare(v1, v2) |  | 
|  452       { |  | 
|  453         return parseFloat(v1) - parseFloat(v2); |  | 
|  454       } |  | 
|  455     } |  | 
|  456   }; |  | 
|  457  |  | 
|  458   let filters = [ |  456   let filters = [ | 
|  459     "@@||alternate.de^$document", |  457     "@@||alternate.de^$document", | 
|  460     "@@||der.postillion.com^$document", |  458     "@@||der.postillion.com^$document", | 
|  461     "@@||taz.de^$document", |  459     "@@||taz.de^$document", | 
|  462     "@@||amazon.de^$document", |  460     "@@||amazon.de^$document", | 
|  463     "||biglemon.am/bg_poster/banner.jpg", |  461     "||biglemon.am/bg_poster/banner.jpg", | 
|  464     "winfuture.de###header_logo_link", |  462     "winfuture.de###header_logo_link", | 
|  465     "###WerbungObenRechts10_GesamtDIV", |  463     "###WerbungObenRechts10_GesamtDIV", | 
|  466     "###WerbungObenRechts8_GesamtDIV", |  464     "###WerbungObenRechts8_GesamtDIV", | 
|  467     "###WerbungObenRechts9_GesamtDIV", |  465     "###WerbungObenRechts9_GesamtDIV", | 
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  604       }, |  602       }, | 
|  605       filter: { |  603       filter: { | 
|  606         text: "||example.com/some-annoying-popup$popup", |  604         text: "||example.com/some-annoying-popup$popup", | 
|  607         whitelisted: false, |  605         whitelisted: false, | 
|  608         userDefined: true, |  606         userDefined: true, | 
|  609         subscription: null |  607         subscription: null | 
|  610       } |  608       } | 
|  611     }); |  609     }); | 
|  612   }); |  610   }); | 
|  613 }()); |  611 }()); | 
| OLD | NEW |