Drag any text towards the location bar, an existing tab, or the new tab button to navigate to that text in the relevant tab. Just like is already implemented for dragging a hyperlink.
When the selected text is a url I expect to navigate to that url even though it was not a hyperlink.
When the selected text is not a url I expect to navigate to a search for that text in my preferred search engine.
Example use cases
- I want to navigate to a url that is not a link… from a pastebin or a commented url to a stackoverflow explaining a bug in a code diff. I have to select the url on the webpage so I'm already using my mouse, dragging the url to navigate to it sometimes feels easier than switching to keyboard to copy&paste it to navigate.
- I want to look up a word, error message, … that I see on a website without overwriting my current clipboard. So I select the text and drag it to the right UI element depending on what tab I want to use.
- Safari implements this for dragging text to the location bar and the new tab button.
- Firefox implements this for dragging text to the location bar, the new tab button and existing tabs.
- Chrome implements this for dragging text to the location bar, the new tab button and existing tabs.