Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
    • 其他浏览器网站
    • 适用于 Android 的附加组件
登录
Virtual Hosts 预览

Virtual Hosts 作者: Longoon

Apply virtual hosts and overwrite the Hosts header for development purposes.

3.8 (4 reviews)3.8 (4 reviews)
251 个用户251 个用户
您需要 Firefox 来使用此扩展
下载 Firefox 并安装扩展
下载文件

扩展元数据

屏幕截图
关于此扩展
Access virtual hosts of a server without the need of host redirection or DNS.

== ATTENTION ==
This addon may not do what you think it does! Make sure you read and understand the functionality before submitting a 1-star review because you think it does something which it's not supposed to do, thank you!

THIS ADDON IS FOR TESTING VHOSTS!
THIS DOES NOT REPLICATE THE SYSTEMS HOST FILE DNS RESOLVING!!!

"Virtual Hosts" does not mean a "virtual hosts file" but refers to http "Virtual hosting"!!!

== ABOUT ==
Overwrite the "Host" HTTP header to request a specific virtual host from a remote webserver. IT DOES NOT RESOLVE DNS TO IP!!!!

Often enough while waiting for DNS propagation or standing up a replacement site, developers edit the hosts file on their system to achieve the same effect. This extension facilitates the a similar effect without the hassle or when lacking permissions.

When detecting outgoing HTTP(S) requests from your Firefox browser to the VHost IP we rewrite the Host header to the VHost Domain. Any requests to sites other than the VHost IP are ignored, so browsing other sites won't be impacted.

== HOW TO USE ==

- Enable -
Click the VHost icon in the top right to open the settings panel.
Make sure Globally Enabled is checked.

- Adding vhosts -
Press Add new Virtual Host and enter the original Host in the IP field (either an IP address if accessing a website by IP or the domain name of the target website) and the new Host in the Host field.
When a domain is present and Enabled is checked for the host all websites matching the IP will be requested with the entered domain.

- Disable -
Untick the [ ] Globally Enabled checkbox or the individual Enabled checkboxes for each host.

== Source ==
I released the source code on GitHub: https://github.com/Longoon12000/Virtual-Hosts

== THANK YOU ==
For using this extension.
开发者留言
This extension is a rewrite of my original chrome extension Virtual Hosts which has since broken as chrome doesn't allow for the modification of the Host header.
评分 3.8(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
2
4
1
3
0
2
0
1
1
阅读全部 4 条评价
权限与数据详细了解

必要权限:

  • 访问您在所有网站的数据
更多信息
附加组件链接
  • 主页
  • 用户支持网站
  • 支持邮箱
版本
1.0
大小
11.53 KB
上次更新
6 年前 (2020年1月31日)
相关分类
  • 网页开发
许可证
MIT 许可证
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
Longoon 制作的更多扩展
  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。