fhosts por Amal Graafstra
Override DNS resolution for specific domains on a per-tab basis for local development or staging environments - test your app with production hostnames without editing system files.
8 usuários8 usuários
Metadados da extensão
Capturas de tela
Sobre esta extensão
fhosts lets you override hostname-to-IP resolution for any domain, directly in Firefox, on a per-tab basis. Perfect for staging or local web development when you need to test with production hostnames.
Why use fhosts?
When developing, you often need production hostnames to work correctly - for cookies, CORS policies, OAuth callbacks, or SSL certificates. Instead of editing your system hosts file (which affects your entire computer), fhosts lets you:
• Map any hostname to any IP address (e.g., myapp.com → 127.0.0.1)
• Enable overrides per-tab - test local and production side-by-side
• Keep your system hosts file clean
How it works
The toolbar icon turns cyan when overrides are active for the active tab.
Requirements
This extension requires a companion proxy helper to perform the actual IP substitution. Download the installer from the GitHub releases page: https://github.com/amalg/fhosts/releases
HTTPS Note
When accessing HTTPS sites, you'll see certificate warnings since the certificate won't match the IP. For local development, use tools like mkcert for local SSL certificates.
Open Source
fhosts is open source under the MIT license. View the code, report issues, or contribute at: https://github.com/amalg/fhosts
Why use fhosts?
When developing, you often need production hostnames to work correctly - for cookies, CORS policies, OAuth callbacks, or SSL certificates. Instead of editing your system hosts file (which affects your entire computer), fhosts lets you:
• Map any hostname to any IP address (e.g., myapp.com → 127.0.0.1)
• Enable overrides per-tab - test local and production side-by-side
• Keep your system hosts file clean
How it works
- Add hostname mappings (e.g., example.com → 127.0.0.1)
- Click the toggle to enable overrides for the current tab
- Navigate to your mapped domain - requests route to your specified IP
The toolbar icon turns cyan when overrides are active for the active tab.
Requirements
This extension requires a companion proxy helper to perform the actual IP substitution. Download the installer from the GitHub releases page: https://github.com/amalg/fhosts/releases
HTTPS Note
When accessing HTTPS sites, you'll see certificate warnings since the certificate won't match the IP. For local development, use tools like mkcert for local SSL certificates.
Open Source
fhosts is open source under the MIT license. View the code, report issues, or contribute at: https://github.com/amalg/fhosts
Avaliado em 0 por 1 revisor
Permissões e dados
Permissões necessárias:
- Trocar mensagens com outros programas além do Firefox
- Controlar configurações de proxy de navegação
- Acessar as abas do navegador
Permissões opcionais:
- Acessar seus dados em todos os sites visitados
Coleta de dados:
- O desenvolvedor afirma que esta extensão não requer coleta de dados.
Mais informações
- Links da extensão
- Versão
- 1.0.1
- Tamanho
- 26,51 KB
- Ultima atualização
- há 2 meses (4 de dez de 2025)
- Categorias relacionadas
- Licença
- Licença MIT
- Histórico de versões
- Adicionar a uma coleção