diff --git a/mail/components/extensions/extensionPopup.js b/mail/components/extensions/extensionPopup.js index f38c27a0ca..7bbe692261 100644 --- a/mail/components/extensions/extensionPopup.js +++ b/mail/components/extensions/extensionPopup.js @@ -23,6 +23,8 @@ var gContextMenu; /* globals nsContextMenu, reporterListener */ +window.addEventListener("DOMContentLoaded", loadRequestedUrl); + function loadRequestedUrl() { let browser = document.getElementById("requestFrame"); browser.addProgressListener(reporterListener, Ci.nsIWebProgress.NOTIFY_ALL); diff --git a/mail/components/extensions/extensionPopup.xhtml b/mail/components/extensions/extensionPopup.xhtml index 1ff09f1ed0..aeba6e7f58 100644 --- a/mail/components/extensions/extensionPopup.xhtml +++ b/mail/components/extensions/extensionPopup.xhtml @@ -11,32 +11,34 @@ - %brandDTD; %messengerDTD; ]> - - - + + + + + + + + + #define BROWSER_POPUPS_ONLY @@ -52,11 +54,6 @@ - - - - - @@ -74,4 +71,5 @@ selectmenulist="ContentSelectDropdown" messagemanagergroup="browsers"/> - + +