Settings

Theme

Use more DuckDuckGo with a convenient escape to Google in Firefox

github.com

5 points by stinger · 4 comments

Reader

2 threads
stingerOP

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

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

  • starkparker

    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
  • stingerOP

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

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection