Hi everyone, I hope you’re having a pleasant day.

Anyway, I recently switched to using DuckDuckGo HTML as my default search engine, which has been great so far. The only thing is I have this habit of using the right-click menu in Windows to highlight and search for terms – example.

The problem is, DuckDuckGo HTML is not able to be accessed this way, so it just returns a blank screen that says “forbidden.”

Now, this is really no big deal. I can adjust my habit, and I already have Firefox set up so that it always displays the unique search field in addition to the address bar, so it’s really easy to search for things, even if I want to search a URL or something like that.

I’m just curious if there is some way to remove the right-click search option altogether? This would be ideal since I keep accidentally trying to use it, due to force of habit. Would this be something I can disable in about:config?

  • igorlogius@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    1 year ago

    The problem is, DuckDuckGo HTML is not able to be accessed this way,

    That sounds like a bug, and i can reproduce it with a new empty profile. Gonna analyse the issue and be back later.

    edit:

    seems to be an issue with the POST endpoint so something on DDG’s side or firefox is not sending the post request correctly, thats also an options, havent looked that deeply into the issue. But the GET endpoint seems to work fine.

    Here the steps to setup without using an addon

    1. open about:config and add browser.urlbar.update2.engineAliasRefresh as boolean with value true
    2. open about:preferences#search and click the Add button on Search Engine table.
    3. Set the new Engine as the default in the Default Search Engine section

    Thats it, now the right click search should work.

    Hope it helps.

    • LinkOpensChest.wav@lemmy.oneOP
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      1 year ago

      Oh thanks! I’m afk now, but once I’m home again I’ll try your fix!

      Edit: No dice. It will open DDGHTML in another tab, but it fails to actually search for keywords