Skip to content

Commit d2b336d

Browse files
committed
Added 'Copy Current URL Markdown' command
1 parent 1643378 commit d2b336d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/zen/urlbar/ZenUBGlobalActions.sys.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,14 @@ const globalActionsTemplate = [
229229
return isNotEmptyTab(window);
230230
},
231231
},
232+
{
233+
label: 'Copy Current URL Markdown',
234+
icon: 'chrome://browser/skin/zen-icons/edit-copy.svg',
235+
command: 'cmd_zenCopyCurrentURLMarkdown',
236+
isAvailable: (window) => {
237+
return isNotEmptyTab(window);
238+
},
239+
},
232240
];
233241

234242
export const globalActions = globalActionsTemplate.map((action) => ({

0 commit comments

Comments
 (0)