emvaized/selecton-extension

Triple clicking URL text does not open the go to link option

jupiter104 opened this issue · 3 comments

Sometimes I see links on some websites that are not clickable, meaning only the text is there like this.

github.com/emvaized/selecton-extension

When I triple click it, all the text gets selected but Selecton does not show the option to go to that link.
However, if I manually click and drag to select the URL text, Selecton shows the go to that link option.
Would be great if it also worked when you triple clicked on the URL text. Also, notice if the www. isn't there in the beginning, it doesn't work. Not really a huge issue but I thought I'd mention it anyway.

Triple click will most likely never properly supported due to the mouse listeners Selecton relies on, see here: #15 (comment)

As for links, the script currently searches for '://' symbol, not the 'www' one - hence this link is not recognized. It was the idea to not rely on the local domains, as there may be countless variants of them.

However, there could be added a check for the most generic ones, like '.com'. But I just noticed a few small flaws in the secondary script which likely lead to this link not being recognized, so maybe fixing those will resolve this issue.

Yeah like I said, it's not a big deal. Many people don't even know about triple click, lol.

Link recognition should be improved in new version 3.5.0