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 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 else | 356 else |
357 { | 357 { |
358 let browser = exports.getBrowser(window); | 358 let browser = exports.getBrowser(window); |
359 return (browser ? browser.currentURI : null); | 359 return (browser ? browser.currentURI : null); |
360 } | 360 } |
361 }; | 361 }; |
362 | 362 |
363 exports.contentContextMenu = ["contentAreaContextMenu", "mailContext"]; | 363 exports.contentContextMenu = ["contentAreaContextMenu", "mailContext"]; |
364 | 364 |
365 exports.defaultToolbarPosition = { | 365 exports.defaultToolbarPosition = { |
366 parent: ["PersonalToolbar", "msgToolbar"], | 366 parent: "nav-bar" |
367 before: ["bookmarks-button", "button-junk"] | |
368 }; | 367 }; |
369 | 368 |
370 exports.statusbarPosition = { | 369 exports.statusbarPosition = { |
371 parent: "status-bar" | 370 parent: "status-bar" |
372 }; | 371 }; |
373 | 372 |
374 exports.toolsMenu = { | 373 exports.toolsMenu = { |
375 parent: "taskPopup", | 374 parent: "taskPopup", |
376 after: "downloadmgr" | 375 after: "downloadmgr" |
377 }; | 376 }; |
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
939 event.state = {id: addonID}; | 938 event.state = {id: addonID}; |
940 browser._contentWindow.dispatchEvent(event); | 939 browser._contentWindow.dispatchEvent(event); |
941 } | 940 } |
942 }); | 941 }); |
943 }, true); | 942 }, true); |
944 }; | 943 }; |
945 | 944 |
946 break; | 945 break; |
947 } | 946 } |
948 } | 947 } |
OLD | NEW |