psidex / CustomBangSearch

A browser extension to use custom DuckDuckGo-like bangs directly from the address bar.
https://addons.mozilla.org/en-US/firefox/addon/custombangsearch/
GNU General Public License v3.0
62 stars 13 forks source link

Existing Bangs show new behaviour #48

Open lslenders opened 1 week ago

lslenders commented 1 week ago

Hi, I will illustrate this bug with an example:

!wf, is configured to 'https://workflowy.com/%s' and has been working fine until recently. now typing in !wf, redirects to 'https://fr.wikipedia.org/wiki/Wikip%C3%A9dia:Accueil_principal'

I suspect this is bc the duckduckgo bang was updated. Removing the existing bang and adding it again made it work like a charm again. Now !wf redirects to my initial https://workflowy.com/%s

FYI

lslenders commented 1 week ago

quickest fix / parking is adding a line about this in the readme ;)

psidex commented 1 week ago

I'm not sure why or how this would happen... What is your default search engine?

lslenders commented 1 week ago

I'm using Brave : Brave 1.71.121, Chromium 130.0.6723.91

psidex commented 6 days ago

Thanks, what search engine does your address bar default to? is it DDG?

lslenders commented 5 days ago

.. it says Brave in the settings... (can choose DDG or Google or others.. but happy w Brave)

Screenshot 2024-11-07 at 14 01 04
psidex commented 5 days ago

Apologies, I forget that Brave is a search engine as well as a browser!

image

Looks like it was Brave catching the bang and using it's own system before CBS could intercept. I'm not sure why updating it in your settings made it work again. I will have to investigate, thanks

lslenders commented 5 days ago

Yes you are right! - I did some more experimenting, and here is the catch: when I update the bang, it will only last for that browser session! After a complete reboot of the machine it will redirect to (in this example) the French Wiki (instead of Workflowy, the link I want it to redirect).