News for hackers. Stuff that matters.
Re:Userscripts Are Fun and Are Still Very Much Relevant by shawxe on Friday April 17, 2020 @08:30AM (#22898410)
DuckDuckGo itself supports this. Just start a query with !g to have it routed to Google. For example, "!g search on Google" would bring you to the Google search results page for "search on Google."

DuckDuckGo supports several other commands like this, which they refer to as "bangs."

https://duckduckgo.com/bang

Re:Userscripts Are Fun and Are Still Very Much Relevant by newscracker on Friday April 17, 2020 @10:53AM (#22899456)
The difference between the Firefox setting described by the GP and the DDG bang commands you mentioned is that the Firefox setting is close to zero latency since it’s handled by the browser. The bang commands need to go to DDG and then come back as a redirect, taking a few seconds more. On the other hand, the DDG bang commands work the same across other browsers too.
Re:Userscripts Are Fun and Are Still Very Much Relevant by samb1729 on Friday April 17, 2020 @08:39AM (#22898456)
A query need not be started with a bang. Just add 'g!' or 'yt!' anywhere in your search terms and it should work fine.
Re:Userscripts Are Fun and Are Still Very Much Relevant by Izkata on Friday April 17, 2020 @11:13AM (#22899697)
Just as an aside, "bang" has long also been a term for "!" itself - hence the two characters starting shell scripts, "#!", being called "hashbang".