this post was submitted on 18 Jun 2023
1 points (100.0% liked)

Firefox

17952 readers
149 users here now

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

founded 4 years ago
MODERATORS
 

I've assigned domain names using a custom TLD to my home servers for ease of access.

When I put, say proxmox.server, in my address bar, it searches the web. To avoid that behavior, I have to specify http://proxmox.server.

I want Firefox to recognize .server as a valid TLD. I've searched the web to no avail, so that's why I'm writing this.

I came across this post in Stack Exchange, but the method described (ie, network.IDN.whitelist.server) doesn't work.

Does anybody know how can I add a custom domain to Firefox?


EDIT:

@jamesw@beehaw.org pointed out that there is a way to add nonstandard TLDs to Firefox: browser.fixup.domainwhitelist.yourdomain.yoursuffix.

It works, but a FQDN (with the imaginary TLD) is needed, that means it's not possible to whitelist all domains under a custom TLD. You need to add one entry per domain, that is: whitelist server1.mystuff, whitelist server2.mystuff, and so on.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] jamesw@beehaw.org 0 points 1 year ago (1 children)

Looks like you can add custom domains in about:config as a true boolean with browser.fixup.domainwhitelist.yourdomain.yoursuffix. Just needs to be full domain with tld.

https://bugzilla.mozilla.org/show_bug.cgi?id=1634650

https://support.mozilla.org/en-US/questions/1285922

It worked, although it's not really how I thought it was going to work. Using browser.fixup.domainwhitelist.*.mysuffix doesn't work.

I hope they add this feature into Firefox, although I don't think that's going to be the case, given that the issues you cited are 3 years old at the time of writing this.

Well, I guess it is what it is. Thank you!