From 2f9c46f97a798a869a13a0fdf5368fca90a7ce2a Mon Sep 17 00:00:00 2001 From: Jacob Hearst Date: Fri, 3 Jun 2022 09:45:17 -0500 Subject: [PATCH 1/2] clipboard-and Add new icon to manifest --- manifest.v2.json | 2 +- manifest.v3.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest.v2.json b/manifest.v2.json index 2c606df..910d567 100644 --- a/manifest.v2.json +++ b/manifest.v2.json @@ -12,7 +12,7 @@ "web_accessible_resources": [ "img/duplicate.svg", "img/trash.svg", - "img/list.svg" + "img/clip.svg" ], "icons": { "101": "img/cardclip.png" diff --git a/manifest.v3.json b/manifest.v3.json index 0f0f5a0..f283b12 100644 --- a/manifest.v3.json +++ b/manifest.v3.json @@ -14,7 +14,7 @@ "resources": [ "img/duplicate.svg", "img/trash.svg", - "img/list.svg" + "img/clip.svg" ], "matches": ["*://scryfall.com/*"] } From 0530d4d078ed4b277647d7a5abd7cd781ef37a19 Mon Sep 17 00:00:00 2001 From: Jacob Hearst Date: Fri, 3 Jun 2022 09:45:29 -0500 Subject: [PATCH 2/2] clipboard-and Fix bad const --- ContentScripts/Clipboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ContentScripts/Clipboard.js b/ContentScripts/Clipboard.js index 9413b9a..eb8dd89 100644 --- a/ContentScripts/Clipboard.js +++ b/ContentScripts/Clipboard.js @@ -209,7 +209,7 @@ function copyClipboard(button) { } catch(e) { console.error(e) } - const cardList = "" + let cardList = "" cards.forEach(card => cardList += `1 ${card}\n`) navigator.clipboard.writeText(cardList) }