Hacker News new | ask | show | jobs
Use more DuckDuckGo with a convenient escape to Google in Firefox (github.com)
5 points by stinger 17 days ago
2 comments

If you are looking to use DuckDuckGo search but still need to review Google's research for critical search tasks, you can use this Firefox addon. Make DuckDuckGo your default search engine so that your initial searches start there and this places a convenient button in the URL panel to execute the same search in Google.
Why is this better than using the !g DDG bang after the initial search?
it's not, at all

this is the entirety of what this extension does, from its code:

    // Extract the search query from the DuckDuckGo URL
    const url = new URL(tab.url);
    const searchQuery = url.searchParams.get('q');
    
    if (searchQuery) {
      // Create the Google search URL
      const googleUrl = `https://www.google.com/search?q=${encodeURIComponent(searchQuery)}`;
which is identical to what appending !g to a DDG query does
Its just convenience. Its a couple of keystrokes vs a mouse click while you are scrolling