no background copying for edge

This commit is contained in:
Kyle Spearrin 2017-09-06 13:28:49 -04:00
parent 509ba631ff
commit 73ee23dc56
1 changed files with 2 additions and 2 deletions

View File

@ -227,8 +227,8 @@ function buildContextMenu(callback) {
contexts: ['all'],
title: bg_i18nService.autoFill
}, function () {
if (bg_utilsService.isFirefox()) {
// Firefox does not support writing to the clipboard from background
if (bg_utilsService.isFirefox() || bg_utilsService.isEdge()) {
// Firefox & Edge do not support writing to the clipboard from background
buildingContextMenu = false;
if (callback) {
callback();