Mozilla will shut down Pocket’s services on July 8, 2025. At that time users will no longer be able to access the Pocket website, apps and API. You can export your saved items and API data until October 8, 2025 before they are permanently removed. For more information, see this article.

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How can I exclude urls ending with .lan from searching

  • 2 replies
  • 1 has this problem
  • 270 views
  • Last reply by joalbauer

In my home network there are several servers whose URLs end with ".lan". For example http://nas.lan or http://router.lan. When I want to connect to these machines with Firefox, I usually type router.lan in the address bar. But then Firefox starts searching for router.lan on google. Afterwards I am asked if I had wanted to access http://router.lan instead and when I click "Yes" Firefox takes me where I actually wanted to go. However, this can get quite annoying over time, and I wonder if it is possible to tell Firefox to go directly to the URL I enter whenever it is a string ending with ".lan" and avoid to search for it? Don't get me wrong, I do not want to disable the search bar completely as I am very used to type in searches into the address bar directly.

In my home network there are several servers whose URLs end with ".lan". For example http://nas.lan or http://router.lan. When I want to connect to these machines with Firefox, I usually type router.lan in the address bar. But then Firefox starts searching for router.lan on google. Afterwards I am asked if I had wanted to access http://router.lan instead and when I click "Yes" Firefox takes me where I actually wanted to go. However, this can get quite annoying over time, and I wonder if it is possible to tell Firefox to go directly to the URL I enter whenever it is a string ending with ".lan" and avoid to search for it? Don't get me wrong, I do not want to disable the search bar completely as I am very used to type in searches into the address bar directly.

Chosen solution

Hi, try this:

  • type about:config into the address bar and press enter.
  • Acknowledge the warning.
  • In the search box at the top enter `browser.fixup.domainsuffixwhitelist.lan` (without the quotes).
  • On the row that appears, make sure that Boolean is selected, then click the plus sign. This should create it with value "true".

Now you should be able to have the `lan` domain work as you want.

Read this answer in context 👍 1

All Replies (2)

Chosen Solution

Hi, try this:

  • type about:config into the address bar and press enter.
  • Acknowledge the warning.
  • In the search box at the top enter `browser.fixup.domainsuffixwhitelist.lan` (without the quotes).
  • On the row that appears, make sure that Boolean is selected, then click the plus sign. This should create it with value "true".

Now you should be able to have the `lan` domain work as you want.

You're the best. Thank you very much.