10

Feature request
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.

Other browsers:

  • 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.
    pieterv changed the title to Drag any text to browser UI to navigate .

      Vlad added info about other browsers to the OP pieterv

      This feature is common in other browsers as you can see.

        a year later

        Hey,
        it would be super cool if I could, like in safari, drag text from a web page to the new tab icon to start a new search of that text. It would speed up my search flow a lot and would be super comfortable. In chrome a new tab opens immediately with the search, safari stays on the same tab. I think the solution of safari is better.
        Attached is a video with the desired behavior:

        Thanks

          Merged 2 posts from Drag and Drop Text from Website to new tab symbol to search.
            4 months later

            Steps to reproduce:
            Select any text, drag-n-drop it either to a "New Tab" button or to the URL/search bar. Nothing happens.

            Expected behavior:
            In Safari, it would result in opening a new tab or using current tab respectively. It should behave like you copied selected text, pasted it, and pressed Enter (simple text goes to search, URL opens the address).

            Orion, OS version; hardware type:
            Orion 0.99.125-beta (WebKit 616.1.22)
            macOS 13.4.1 (Intel)

            Image/Video:
            Please see attached video of Safari implementation.

            • Vlad replied to this.

              eugenef It is not a bug, but a missing feature 🙂 I think this was always reported as a feautre suggestion can you find it so that I can merge.

              Merged 3 posts from Drag-n-drop to "New Tab" button or a search bar doesn't work .
                21 days later

                Thanks, you are right, it's a dupe. I only wanted to emphasize that this behavior

                • should be the same like you copied selected text, pasted it to location bar, and pressed Enter (simple text goes to search, URL opens the address)
                • should work with “new tab” button, location bar, and already opened tabs
                • ideally should respect modifier keys (dragging to location bar opens in active tab, doing the same with CMD opens in a new tab, etc)
                No one is typing