Open lainbo opened 1 month ago
Your suggestion is excellent! I was actually considering adding a similar feature just yesterday, using configurable string templates to control different output results. Your idea of implementing different configurations through various shortcuts is fantastic! I will prioritize this feature update in our next version release. Please stay tuned!
Hey there! I love this browser extension for quick link sharing. I have a feature request that I think could make it even more powerful and flexible.
Current behavior
The extension copies a string in the format:
Requested feature
We'd like to enhance the extension with two main improvements:
Customizable URL copying options: It would be great to have customizable options for what parts of the URL and page information to include when copying. Users could choose which elements to include in their copied string, such as:
Users should be able to set the order of these elements and choose a separator (newline, space, etc.).
Keyboard shortcut support: To make this customizable copying feature quickly accessible, we should implement keyboard shortcut support. Users should be able to:
This combination of customizable copying and keyboard shortcuts would provide a powerful, flexible, and efficient way for users to share links exactly as they need them.
Why?
Different sharing contexts require different information. Sometimes we want to exclude tracking parameters(e.g.
https://www.bilibili.com/video/BV1uT4y1P7CX/?spm_id_from=333.788.recommend_more_video.-1&vd_source=23484e816035c7f74633
), This flexibility would make the extension useful in more scenarios.Proposed user interface
A settings page where users can choose which elements to include:
Users could also set the order of these elements and choose a separator (newline, space, etc.).
Technical implementation
Here's a possible approach to implement this feature:
I'm not sure if there's a better way to implement this, but I thought using this might work. If anyone has a more robust solution, I'm all ears!
Examples
Depending on user settings, the extension could generate:
https://www.youtube.com/watch?v=dQw4w9WgXcQ&t=43s
https://www.bilibili.com/video/BV1uT4y1P7CX
Never Gonna Give You Up - YouTube
What do you think? This would give users the power to create exactly the kind of shareable links they need for different situations.