From e43826e395b4c53227d6ca177a983dfa986e1360 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Sat, 15 Dec 2018 22:14:05 -0500 Subject: [PATCH] firefox now supports other context menu options --- src/background/main.background.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/background/main.background.ts b/src/background/main.background.ts index a5554d62551..104a68ca0e1 100644 --- a/src/background/main.background.ts +++ b/src/background/main.background.ts @@ -362,8 +362,8 @@ export default class MainBackground { title: this.i18nService.t('autoFill'), }); - // Firefox & Edge do not support writing to the clipboard from background - if (!this.platformUtilsService.isFirefox() && !this.platformUtilsService.isEdge()) { + // Edge does not support writing to the clipboard from background + if (!this.platformUtilsService.isEdge()) { await this.contextMenusCreate({ type: 'normal', id: 'copy-username', @@ -489,11 +489,6 @@ export default class MainBackground { }); } - if (this.platformUtilsService.isFirefox()) { - // Firefox does not support writing to the clipboard from background - return; - } - if (cipher == null || (cipher.login.username && cipher.login.username !== '')) { await this.contextMenusCreate({ type: 'normal',