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-2015 Eyeo GmbH | 3 * Copyright (C) 2006-2015 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 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 | 355 |
356 /* Web requests */ | 356 /* Web requests */ |
357 | 357 |
358 ext.webRequest = { | 358 ext.webRequest = { |
359 onBeforeRequest: new ext._EventTarget(), | 359 onBeforeRequest: new ext._EventTarget(), |
360 handlerBehaviorChanged: function() | 360 handlerBehaviorChanged: function() |
361 { | 361 { |
362 }, | 362 }, |
363 getIndistinguishableTypes: function() | 363 getIndistinguishableTypes: function() |
364 { | 364 { |
365 return [["OTHER", "FONT"]]; | 365 return []; |
366 } | 366 } |
367 }; | 367 }; |
368 | 368 |
369 | 369 |
370 /* Background page proxy (for access from content scripts) */ | 370 /* Background page proxy (for access from content scripts) */ |
371 | 371 |
372 var backgroundPageProxy = { | 372 var backgroundPageProxy = { |
373 cache: new ext.PageMap(), | 373 cache: new ext.PageMap(), |
374 | 374 |
375 registerObject: function(obj, objects) | 375 registerObject: function(obj, objects) |
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
760 tab.activate(); | 760 tab.activate(); |
761 if (callback) | 761 if (callback) |
762 callback(page); | 762 callback(page); |
763 return; | 763 return; |
764 } | 764 } |
765 } | 765 } |
766 | 766 |
767 ext.pages.open(optionsUrl, callback); | 767 ext.pages.open(optionsUrl, callback); |
768 }; | 768 }; |
769 })(); | 769 })(); |
OLD | NEW |