diff --git a/src/chrome/content/overlay-injectors/messenger.js b/src/chrome/content/overlay-injectors/messenger.js index 85f1d48..40c0a29 100644 --- a/src/chrome/content/overlay-injectors/messenger.js +++ b/src/chrome/content/overlay-injectors/messenger.js @@ -1,5 +1,3 @@ -const Services = globalThis.Services; - Services.scriptloader.loadSubScript("chrome://removedupes/content/removedupes.js", window, "UTF-8"); function injectToolbarButton() { diff --git a/src/chrome/content/removedupes-common.js b/src/chrome/content/removedupes-common.js index 387a4b1..22fbc3e 100644 --- a/src/chrome/content/removedupes-common.js +++ b/src/chrome/content/removedupes-common.js @@ -1,7 +1,6 @@ var EXPORTED_SYMBOLS = ["RemoveDupes"]; var RemoveDupes = {}; -const Services = globalThis.Services; const { MailServices } = ChromeUtils.importESModule("resource:///modules/MailServices.sys.mjs"); const { XPCOMUtils } = ChromeUtils.importESModule("resource://gre/modules/XPCOMUtils.sys.mjs"); diff --git a/src/chrome/content/removedupes-dialog.js b/src/chrome/content/removedupes-dialog.js index e62787b..d7a6f8d 100644 --- a/src/chrome/content/removedupes-dialog.js +++ b/src/chrome/content/removedupes-dialog.js @@ -1,5 +1,4 @@ const { RemoveDupes } = ChromeUtils.import("chrome://removedupes/content/removedupes-common.js"); -const Services = globalThis.Services; const { MailUtils } = ChromeUtils.importESModule("resource:///modules/MailUtils.sys.mjs"); var msgWindow;