aboutsummaryrefslogtreecommitdiffstats
path: root/apps/browser-extension/src/background/protocol.ts
diff options
context:
space:
mode:
authorkamtschatka <simon.schatka@gmx.at>2024-08-18 20:52:51 +0200
committerGitHub <noreply@github.com>2024-08-18 21:52:51 +0300
commit0710147ab1a3274b517acefffdaa17ece7cdd744 (patch)
tree127ecb3521e4df8a2ee849dc9a466a8c8857e3e1 /apps/browser-extension/src/background/protocol.ts
parentc7f9febf04541ac9b68a4cb6cb48251e41b51d05 (diff)
downloadkarakeep-0710147ab1a3274b517acefffdaa17ece7cdd744.tar.zst
[extension] Add context menu item in the browser extension. Fixes #155 (#278)
* Add context menu item in the browser extension #155 Added a context menu entry to add links directly to hoarder * Formalize protocol between extension and service worker, add support for text/images beside links * fix build --------- Co-authored-by: MohamedBassem <me@mbassem.com>
Diffstat (limited to 'apps/browser-extension/src/background/protocol.ts')
-rw-r--r--apps/browser-extension/src/background/protocol.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/browser-extension/src/background/protocol.ts b/apps/browser-extension/src/background/protocol.ts
new file mode 100644
index 00000000..f4bcbcd8
--- /dev/null
+++ b/apps/browser-extension/src/background/protocol.ts
@@ -0,0 +1 @@
+export const NEW_BOOKMARK_REQUEST_KEY_NAME = "hoarder-new-bookmark";