Use more DuckDuckGo with a convenient escape to Google in Firefox

5 pointsposted 5 hours ago
by stinger

4 Comments

stinger

5 hours ago

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.

markx2

5 hours ago

Why is this better than using the !g DDG bang after the initial search?

starkparker

5 hours ago

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

stinger

4 hours ago

Its just convenience. Its a couple of keystrokes vs a mouse click while you are scrolling