link-preview-sidebar
link-preview-sidebar copied to clipboard
Shortcut conflicts with download link
Option-clicking an unsupported link (#17) accidentally downloads it. Shift might be better or making it customizable.
same here +1
thanks
A temporary solution would be to clone this repo to your local machine, change the shortcut set in the content.tsx file (link) to alt+shift+click by changing the code to if (event.altKey && event.shiftKey && event.target instanceof HTMLAnchorElement && event.target.href).
For other available event keycodes, see doc here.
Then, you'd need to load your codebase to chrome by going to the extension page (e.g. chrome://extensions or brave://extensions) and follow these steps:
- Enable developer mode (on the top right)
- Click "Load Unpacked" (on the top left) that shows up once you enable the developer mode
- Select the root folder of your codebase.
- Once your codebase is loaded, you can disable the original Link Preview extension and start using the one you just modified.