Tổng quan
Switch your host/IP mappings in real time without editing your hosts file
LiveHosts is a Chrome extension that aims at providing a working (even if sub-obtimal) solution to a common nuisance that many web developers have to deal with every day. If you have multiple versions of your websites sharing the same host names on multiple environments, you often need to switch the assignments in your OS hosts file. Other extensions (like the life-saving HostAdmin) can help with the cumbersomeness, but changes to the hosts file usually take an inconvenient amount of time to actually affect the browser. Unfortunately, there is no way to make Chrome direct requests for a hostname to a specific IP without a standard redirect - you could set up a smart HTTP proxy, but it's often not possible or not convenient. This extension settles for a sub-obtimal approach: requests to the indicated hostnames are redirected to the chosen IPs with an additional Host header. The browser's address bar reflects this behaviour showing the hostname right after the IP (e.g. http://127.0.0.1/www.example.com/). The extension also tries to take care of all requests to either the IP or the hostname in a consistent way. Issues After the redirect, the user is effectively in a different domain that the one they expected. They may notice some functional differences: - depending on the server, parts of a web page referring to the site URL (like href and src attributes) could be different from the original - window.location has a different value that can potentially throw off JavaScript snippets - most Cross-Origin request won't work
3,3/541 lượt xếp hạng
Chi tiết
- Phiên bản2.0.0
- Đã cập nhật29 tháng 3, 2022
- Nhà cung cấpAioros
- Kích thước57.78KiB
- Ngôn ngữEnglish
- Nhà phát triển
Email
aioros83@gmail.com - Người bán phi thương mạiNhà phát triển này không tự nhận mình là người bán. Đối với người tiêu dùng ở Liên minh Châu Âu, xin lưu ý rằng các quyền của người tiêu dùng không được áp dụng trong hợp đồng giữa bạn và nhà phát triển này.
Quyền riêng tư
Nhà phát triển này tuyên bố rằng dữ liệu của bạn
- Không được bán cho bên thứ ba, ngoài những trường hợp sử dụng đã được phê duyệt
- Không được sử dụng hoặc chuyển nhượng cho các mục đích không liên quan đến chức năng chính của mặt hàng
- Không được sử dụng hoặc chuyển nhượng để xác định khả năng thanh toán nợ hoặc phục vụ mục đích cho vay