| OLD | NEW |
| 1 /* | 1 /* |
| 2 * This file is part of Adblock Plus <http://adblockplus.org/>, | 2 * This file is part of Adblock Plus <http://adblockplus.org/>, |
| 3 * Copyright (C) 2006-2014 Eyeo GmbH | 3 * Copyright (C) 2006-2014 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 var eventName = "error"; | 70 var eventName = "error"; |
| 71 | 71 |
| 72 switch(event.target.localName) | 72 switch(event.target.localName) |
| 73 { | 73 { |
| 74 case "frame": | 74 case "frame": |
| 75 case "iframe": | 75 case "iframe": |
| 76 type = "sub_frame"; | 76 type = "sub_frame"; |
| 77 eventName = "load"; | 77 eventName = "load"; |
| 78 break; | 78 break; |
| 79 case "img": | 79 case "img": |
| 80 case "input": |
| 80 type = "image"; | 81 type = "image"; |
| 81 break; | 82 break; |
| 82 case "object": | 83 case "object": |
| 83 case "embed": | 84 case "embed": |
| 84 type = "object"; | 85 type = "object"; |
| 85 break; | 86 break; |
| 86 case "script": | 87 case "script": |
| 87 type = "script"; | 88 type = "script"; |
| 88 break; | 89 break; |
| 89 case "link": | 90 case "link": |
| (...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 422 messageProxy.handleResponse(event.message); | 423 messageProxy.handleResponse(event.message); |
| 423 break; | 424 break; |
| 424 case "proxyCallback": | 425 case "proxyCallback": |
| 425 backgroundPageProxy.handleCallback(event.message); | 426 backgroundPageProxy.handleCallback(event.message); |
| 426 break; | 427 break; |
| 427 } | 428 } |
| 428 } | 429 } |
| 429 } | 430 } |
| 430 }); | 431 }); |
| 431 })(); | 432 })(); |
| OLD | NEW |