swift-selection-search
swift-selection-search copied to clipboard
Option to disable when clicking on a link
Repeatedly and quickly clicking on links, e.g. previous/next to quickly cycle through images, has the unfortunate effect of highlighting/selecting the link, which causes the pop-up to open and get in the way. An option to disable the pop-up when clicking on a link would alleviate this, and the link could still be selected by click and drag in order to active SSS for it if needed, which is the way it would be anyways. Nobody would click on a link to highlight it, after all. So doing this shouldn't negatively affect its functionality.
I see, I'll have to see if this is possible without compromising functionality. The problem in this case is that double-clicking will most of the time select the clicked word, even if it's a "link" such as these. Sometimes those "links" are not really links, however (in the HTML sense of the word, which is "anchors") so they might be difficult to detect. :)
Thanks. Even if it's only disabled for normal links and can't detect and disable itself for all, it would still be a big improvement.