| 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 11 matching lines...) Expand all Loading... |
| 22 "use strict"; | 22 "use strict"; |
| 23 | 23 |
| 24 let {XPCOMUtils} = Cu.import("resource://gre/modules/XPCOMUtils.jsm", {}); | 24 let {XPCOMUtils} = Cu.import("resource://gre/modules/XPCOMUtils.jsm", {}); |
| 25 let {Services} = Cu.import("resource://gre/modules/Services.jsm", {}); | 25 let {Services} = Cu.import("resource://gre/modules/Services.jsm", {}); |
| 26 | 26 |
| 27 let {Utils} = require("utils"); | 27 let {Utils} = require("utils"); |
| 28 let {Prefs} = require("prefs"); | 28 let {Prefs} = require("prefs"); |
| 29 let {FilterStorage} = require("filterStorage"); | 29 let {FilterStorage} = require("filterStorage"); |
| 30 let {BlockingFilter, WhitelistFilter, RegExpFilter} = require("filterClasses"); | 30 let {BlockingFilter, WhitelistFilter, RegExpFilter} = require("filterClasses"); |
| 31 let {defaultMatcher} = require("matcher"); | 31 let {defaultMatcher} = require("matcher"); |
| 32 let {objectMouseEventHander} = require("objectTabs"); | |
| 33 let {ElemHide} = require("elemHide"); | 32 let {ElemHide} = require("elemHide"); |
| 34 | 33 |
| 35 /** | 34 /** |
| 36 * Randomly generated class name, to be applied to collapsed nodes. | 35 * Randomly generated class name, to be applied to collapsed nodes. |
| 37 * @type string | 36 * @type string |
| 38 */ | 37 */ |
| 39 let collapsedClass = ""; | 38 let collapsedClass = ""; |
| 40 | 39 |
| 41 /** | 40 /** |
| 42 * Public policy checking functions and auxiliary objects | 41 * Public policy checking functions and auxiliary objects |
| (...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 404 if (!wnd || wnd.closed) | 403 if (!wnd || wnd.closed) |
| 405 return; | 404 return; |
| 406 | 405 |
| 407 if (entry.type == "OBJECT") | 406 if (entry.type == "OBJECT") |
| 408 { | 407 { |
| 409 node.removeEventListener("mouseover", objectMouseEventHander, true); | 408 node.removeEventListener("mouseover", objectMouseEventHander, true); |
| 410 node.removeEventListener("mouseout", objectMouseEventHander, true); | 409 node.removeEventListener("mouseout", objectMouseEventHander, true); |
| 411 } | 410 } |
| 412 Policy.processNode(wnd, node, entry.type, entry.location, true); | 411 Policy.processNode(wnd, node, entry.type, entry.location, true); |
| 413 } | 412 } |
| OLD | NEW |