this post was submitted on 06 Jun 2024
28 points (96.7% liked)

Firefox

17804 readers
223 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 4 years ago
MODERATORS
 

We have a few sites on our intranet at work that I constantly end up searching on Google instead of visiting the site.

If I type in the address bar

https://site.work/customers/12345

it will navigate just fine, but if I just type

site.work/customers/12345

it executes a Google search

Is there any way for me to add a whitelist for a given hostname? I don't want to turn keyword.enabled off.. I only want to turn it off for one site.

top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 21 points 4 months ago (1 children)

I haven't tried this so I can't vouch for it, but it looks like you can add custom domains to a whitelist per https://support.mozilla.org/en-US/questions/1292986

So in your case, something like

browser.fixup.domainsuffixwhitelist.work = true

may work.

[–] [email protected] 13 points 4 months ago

This worked! thank you

[–] [email protected] 4 points 4 months ago

If you add another / at the end of the URL does that solve it?

[–] [email protected] 2 points 4 months ago

This is the worst with local host too