Tiện ích trình duyệt Firefox
  • Tiện ích mở rộng
  • Chủ đề
    • cho Firefox
    • Từ điển & gói ngôn ngữ
    • Các trang web trình duyệt khác
    • Tiện ích cho Android
Đăng nhập
Xem trước fhosts

fhosts bởi 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.

0 (0 đánh giá)0 (0 đánh giá)
Tải xuống Firefox và tải tiện ích mở rộng
Tải xuống tập tin

Siêu dữ liệu mở rộng

Ảnh chụp màn hình
Settings
Về tiện ích mở rộng này
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
  1. Add hostname mappings (e.g., example.com → 127.0.0.1)
  2. Click the toggle to enable overrides for the current tab
  3. 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
Được xếp hạng 0 (bởi 1 người dùng)
Đăng nhập để đánh giá tiện ích này
Chưa có xếp hạng nào

Đã lưu xếp hạng sao

5
0
4
0
3
0
2
0
1
0
Chưa có đánh giá
Quyền hạn và dữ liệu

Quyền hạn bắt buộc:

  • Giao tiếp với các ứng dụng khác bên ngoài Firefox
  • Điều khiển cài đặt proxy của trình duyệt
  • Truy cập các thẻ trên trình duyệt

Quyền hạn tùy chọn:

  • Truy cập dữ liệu của bạn trên mọi trang web

Thu thập dữ liệu:

  • Nhà phát triển cho biết tiện ích mở rộng này không yêu cầu thu thập dữ liệu.
Tìm hiểu thêm
Thêm thông tin
Liên kết tiện ích
  • Trang chủ
  • Trang hỗ trợ
  • Email hỗ trợ
Phiên bản
1.0.1
Kích cỡ
26,51 KB
Cập nhật gần nhất
23 ngày trước (4 Thg 12 2025)
Thể loại có liên quan
  • Phát triển Web
  • Thẻ
Giấy phép
Giấy phép MIT
Lịch sử các phiên bản
  • Xem tất cả phiên bản
Thêm vào bộ sưu tập
Báo cáo tiện ích này
Đi đến trang chủ Mozilla

Tiện ích

  • Giới thiệu
  • Blog tiện ích Firefox
  • Extension Workshop
  • Trung tâm nhà phát triển
  • Chính sách nhà phát triển
  • Blog cộng đồng
  • Diễn đàn
  • Báo cáo một lỗi
  • Hướng dẫn đánh giá

Trình duyệt

  • Desktop
  • Mobile
  • Enterprise

Sản phẩm

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Riêng tư
  • Cookie
  • Pháp lý

Trừ trường hợp khác đã ghi chú, nội dung trên trang này được cấp phép theo giấy phép Creative Commons Attribution Share-Alike v3.0 hoặc bất kỳ phiên bản nào sau này.