Skip to content

Conversation

SConaway
Copy link
Contributor

@SConaway SConaway commented Jun 5, 2025

Description

This PR adds a new keyboard shortcut (Ctrl/Cmd+Shift+E by default -- Ctrl+Shift+K was not working for some reason) that allows users to save the current page to Karakeep without needing to use the context menu or click the extension icon (which is often hidden).

Closes #1058.

Method

When triggered, the background script captures the current tab's URL, stores it in session storage, and then opens the extension popup to complete the save flow. This mirrors the behavior of the context menu option. The context menu handler was refactored to reuse the same logic.

Testing

To test, download and install the appropriate .zip file below:

For Firefox (and Firefox-based browsers like Zen):
Go to about:debugging, click This Firefox in the left sidebar, then click Load Temporary Add-on. Select the .zip file to install.

For Chrome (and Chromium-based browsers):
Go to chrome://extensions, enable Developer mode, extract the .zip file, and drag the extracted folder onto the tab to install.

Notes

To change the keyboard shortcut:

@MohamedBassem MohamedBassem merged commit ee51745 into karakeep-app:main Jun 7, 2025
5 checks passed
@MohamedBassem
Copy link
Collaborator

Thank you!

@SConaway
Copy link
Contributor Author

SConaway commented Jun 8, 2025

Thanks for merging this!

When do you think the extension on the Firefox store will be released?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a shortcut to add a link to hoarder from the extension
2 participants