browser site search shortcuts

    Last updated: December 1st, 2023

    This is an incomplete doc about browser site search shortcuts. You can modify your web browser so that after jumping to your address bar / ‘omnibox’ (Cmd+L) you can type a shortcut to search via a particular search tool.

    To add a search tool in your browser, you need a name for the tool, a shortcut, and a URL with %s in place of the query. Here is the Google Chrome Help page. You can reach the settings directly by typing the following into your address bar: chrome://settings/searchEngines

    Here is an example setup

    Search: danielsgriffin.com/search

    Shortcut: dsg

    URL with %s in place of query: https://danielsgriffin.com/search/?q=%s

    Here is the search syntax for several search tools.
    Search tool URL Shortcut
    Bing https://www.bing.com/search?q=%s b
    Brave Search https://search.brave.com/search?q=%s br
    DuckDuckGo https://duckduckgo.com/?q=%s ddg
    Ecosia https://www.ecosia.org/search?q=%s e
    Google https://www.google.com/search?q=%s g
    Marginalia Search https://you.com/search?q=%s marg
    Perplexity AI https://www.perplexity.ai/search/?q=%s p
    Perplexity AI.Copilot https://www.perplexity.ai/search?q=%s&copilot=true pc
    Qwant https://www.qwant.com/?q=%s qw
    Semantic Scholar https://www.semanticscholar.org/search?q=%s ss
    Sourcegraph https://sourcegraph.com/search?q=%s src
    Startpage https://www.startpage.com/do/search?q=%s sp
    Twitter https://twitter.com/search?q=%s t
    Twitter.filter:follows https://twitter.com/search?q=%s filter%3Afollows tf
    Wikipedia https://en.wikipedia.org/w/index.php?search=%s wp
    You.com https://you.com/search?q=%s you
    YouChat https://you.com/search?q=%s&tbm=youchat&cfr=chat youchat
    danielsgriffin.com https://danielsgriffin.com/search/?q=%s dsg

    I made a goofy unofficial and unpacked Chrome extension to select a random search engine (with a provided shortcut), available on GitHub: github.com/danielsgriffin/qrs.


    Added August 29, 2023

    See also the OpenSearch protocol description specs @ github.com/dewitt/opensearch, an OpenSearch description format reference in the MDN docs, and background on OpenSearch at Wikipedia.


    Added August 29, 2023

    While searching to try to remember the name of the OpenSearch protocol, g[parameter q in searches browsers sites engines], I stumbled on Sourcegraph’s Browser search engine shortcuts doc.

    You can add Sourcegraph as a browser search engine to quickly search Sourcegraph from your browser’s location bar when you type a special shortcut, such as src. This is one of the most common ways to initiate a search on Sourcegraph.

    As an example, you can search: https://sourcegraph.com/search?q=OpenSearchDescription


    Added August 29, 2023

    Added Sourcegraph to the table.


    Added December 01, 2023 02:30 PM (PST)

    • I’ve added Marginalia Search to the table above.
    • I’ve added the actual shortcuts I use in my browser to the table.
    • TODO: Look into supporting programmatically updating browser site search shortcuts with a Chrome extension.
    • Added ‘omnibox’ tag.