diff --git a/electron_app/src/electron-main.js b/electron_app/src/electron-main.js index 32e305d8..29a9f08a 100644 --- a/electron_app/src/electron-main.js +++ b/electron_app/src/electron-main.js @@ -86,6 +86,12 @@ function onLinkContextMenu(ev, params) { safeOpenURL(params.linkURL); }, })); + popup_menu.append(new electron.MenuItem({ + label: 'Copy Link Address', + click() { + electron.clipboard.writeText(params.linkURL); + }, + })); popup_menu.popup(); ev.preventDefault(); }