Tab completion for previously visited search engines
- Edited
Vlad I know, but here is the concept: Every website that has a search input field which was placed into the history area which can be found by simply doing a search function with %s or whichever identifier search input fields use to input into the address bar, you simply make every single one of these queries be able to be automatically searched without having to go to the website first. For example, if you type "kagi, tab, then Orion browser", you will search for "Oriokn browser" on kagi. This is also available on Chrome and Firefox as well.
Please note that the right arrow with a line before it is the "tab" key in the video. Please pause at moments in the video if you still do not understand it.
Since this is on Firefox, you may look into taking some inspiration from the code of Firefox's search bar and how it auto completes websites.
Please note that this specific "auto adding" is not yet added. Yes, there exists the option to add custom search engines, but that is not the same as Safari just simply automatically adding all search input fields into the history to be navigated, or even adding input fields as an option to be bookmarked. None of these two options have yet been added.
I would appreciate the adding of two of these functions, but if not enough time then the latter would be appreciable for a while, but Safari's auto search feature is still a nice feature to have for more parity with Safari.
I was not. Asking for clarification what is the exact ask?
comparing the flow for orion, chrome, and safari:
suppose we want to create a way to quickly search DuckDuckGo
orion
steps
- go to duckduckgo.com
- create a bookmark
- edit bookmark
- add in appropriate data
- use it by typing
duckduckgo your query
, and it shows up in Top Hits
video:
chrome
steps
- type in duckduckgo.com
- press tab, it auto appears
Chrome already knows duckduckgo is a search engine. if it didn't it would only require a search to get it automatically saved, as chrome also seems to detect ?q=
to be search
video:
##safari
steps:
steps
- go to duckduckgo.com
- search something. Safari detects the
?q=
in the URL and automagically puts it inQuick Website Search
- now use it by typing
duckduckgo your query
underSearch duckduckgo.com
video
request
Orion should automatically detect when something is a search, and automatically save that information somewhere (idk where)
additionally, it should make it more obvious that this is using a custom search by putting it in the heading "Search" or "Custom Search" rather than "Top Hits"
This may be related to detecting OpenSearch metadata. MDN has a guide on using OpenSearch so that Firefox can detect 3rd-party search fields.
Can someone desribe the entire flow, including the changes in Orion UI to make this work? Btw there is also an issue for this already open.
Vlad Yes it is.
A user visits a site with opensearch metadata/url parameters
A user performs a search within that site
When accessing the address bar, the user can type that site’s name and press tab to enter a query for that site.
I imagine that Orion will allow quick search on that site as long as it’s in the user’s history. There should also be a button in the address bar that appears on hover (similar to the reader mode button) which should prompt the user to add it as a search engine if OpenSearch metadata is detected.