基本信息

更新日期:
包名:
bopepoejgapmihklfepohbilpkcdoaeo
版本:
1.3.11
大小:
77.07KiB
类型:
扩展
平台:
Chrome
评分:
发布日期:
2018-05-13
价格:
免费
开发者:
criticalthoughts8

Host Switch Plus插件截图

【图】Host Switch Plus(截图1)【图】Host Switch Plus(截图2)

Host Switch Plus插件简介

快速切换 Domain-IP 配置而不需要编辑 Hosts 文件,并方便的添加、修改、分组(批量开关)。Switch domain-ip mapping (Hosts file) between different environment

(中文说明滚动至下面)

Changes the hosts rules in Chrome. It’s easy, and effect immediately.

I just want to make the web developer works happy if they often need to switch hosts between develop/test/production environment.

One more feature is that you can set a local proxy for some kind of domain,for example, if you use Fiddler AutoResponder,you can set the domain IP as 127.0.0.1:8888.

By the way,
1. if you use windows system and just want to easy to manage you system hosts config, I recommend a tool called [SwitchHosts!](http://oldj.net/article/switchhosts/);
2. If you use Fiddler, you can try Tools > HOSTS, but I think it’s difficult to manage the host rules.

Sorry for my Poor English, learn more from the screenshots please.

Any questions/issues let me know: https://github.com/Riant/host-switch-plus

域名IP切换工具:

基于代理PAC自动切换一个域名的IP,而不用修改 hosts,同时不纠结系统的 hosts 缓存生效慢等问题。方便web开发人员在 各种/测试/开发/线上 环境快速切换。

通过该 Chrome 扩展,快捷方便的切换、设置 host 代理规则。

IP[:端口] 域名 [tag] [备注]
127.0.0.1:8888 www.xyz.com prod Fiddler
127.0.0.1 *.xyz.com
192.168.1.2 www.xyz.com

注:由于没有 https 服务,所以 https 的测试不完整,如有遇到问题,请确保您的目标服务器支持相应的 https 请求。

#起缘
在程序开发过程中,难免开发、测试、生产环境各种切换,一般我们直接修改系统的 hosts 文件。

这么做的几个问题:
1. 编辑、管理麻烦,推荐 [SwitchHosts!](http://oldj.net/article/switchhosts/);
2. 生效延迟。用 Fiddler 的同学可以试试它 Tools 下的 HOSTS 工具;但是这个工具又让我们回到了第一个问题上。

好了,能否有一个工具管理方便,又快捷简单呢?我找到一个 Chrome 扩展 [Chrome Host Switch](https://github.com/shendongming/chrome-host-switch);

很让人兴奋的一个插件。

问题似乎解决了。

可是为了用 Fiddler,我还装了插件 [Proxy SwitchySharp](https://chrome.google.com/webstore/detail/proxy-switchysharp/dpplabbmogkhghncfbfdeeokoefdjegm?utm_source=chrome-ntp-icon)

而 Chrome 的代理插件只能同时有一个生效,那么有没有什么办法整合一下呢?

感谢 Chrome Host Switch 是在 Github 开源分享,遗憾给他的 Issues 一直没有回应,估计作者也是很久没有跟进了;于是自己动手吧。

大概看了下代理实现部分,尝试修改了一下,同时完善了原作者没有完成的编辑、批量添加等功能,并清理了文件很大但用处不多的 Bootstrap 及其 Js 插件。

由于最近忙,没有详细测试完善,任何疑问,建议,欢迎[提交 Issues] (https://github.com/Riant/host-switch-plus).

##注:
1. 该版本暂时没有支持原版 Host Switch 的别名功能
192.168.1.110 web1
#web1 www.wwbaidu.com

类似Host Switch Plus插件

Proxy based on location
Use location based proxies with GeoProxy. It's completely free!! This extension provides an easy to use intuitive interface for connecting to free proxy from a country of your choi..
Access virtual hosts of a server wit..
Access virtual hosts of a server without the need of host redirection or DNS. ABOUT Overwrite the Host HTTP header to request a specific virtual host from a remote server. Often en..
View Server IP address or alias What..
View Server IP address or alias What's new in v2.2.0? - Added option for each IP to also be associated with a color - Reduced the amount of flicker when loading multiple windows or..
A simple proxy management tool Simpl..
A simple proxy management tool Simply manage Chrome's proxy settings and support http, https, socks4, socks5 protocols and pac script. Automatically sync your proxy settings.
DNS重写器允许您用别名替换当前主机名。主机名将在<img、<script>、<a>、<li..
DNS重写器允许您用别名替换当前主机名。主机名将在<img、<script>、<a>、<link>等标记中更改;。只有具有指定别名的主机名才会被替换。 使用DNS重写器,您可以动态替换主机名,而无需访问系统设置,如主机文件。DNS Overrider允许您通过扩..
通过使用我们的在线代理服务匿名浏览,您可以从黑客和网站中保存您的在线身份。我们的服务还可用于访问来自任何国家/地区的被阻止的网站和文件。 当您在我们的代理搜索栏中输入url时,..
通过使用我们的在线代理服务匿名浏览,您可以从黑客和网站中保存您的在线身份。我们的服务还可用于访问来自任何国家/地区的被阻止的网站和文件。 当您在我们的代理搜索栏中输入url时,您的IP地址将被我们自己的服务器的IP地址屏蔽,因此您不必担心任何人会跟踪您的IP。 除此之外,我们的代理服务器服务完全联机,这意味着您不需要安装任何软件来访问此服务
Cycles between proxies randomly ever..
Cycles between proxies randomly every 60 seconds. This extension allows user to enter up to 4 proxy servers and randomly hop through them every 60s while extension is open. This ex..
作为开发人员,在不同的环境(如dev、uat、prod)之间切换可能会很麻烦。此扩展旨在允许开发人员在页面上快速交换环境,同时保持其路径不变。 域切换器允许您为所处理的各种项目..
作为开发人员,在不同的环境(如dev、uat、prod)之间切换可能会很麻烦。此扩展旨在允许开发人员在页面上快速交换环境,同时保持其路径不变。 域切换器允许您为所处理的各种项目组织环境。只需在“选项”页上创建一个“项目”,然后为项目的各种环境输入相关的域。我们将完成剩下的工作,当您在与某个项目环境匹配的页面上时,只需单击地址栏中的箭头图标,就可以在不同的环境..
Resolve DNS addresses based on previ..
Resolve DNS addresses based on previously working IPs Chrome extension to remember previously resolved domain name IPs, in case DNS server goes down or IP is blocked. It just runs ..
Instantly switch the font of current..
Instantly switch the font of current page using Google Fonts. You can instantly switch current page's font to Google Fonts' web font. Also, you can input CSS selector to specify el..
扩展允许您删除页面内容。
扩展允许您删除页面内容。
Don't miss any GitLab issues or merg..
Don't miss any GitLab issues or merge requests and rocket up your productivity. The GitLab interface might be a bit blurry to see which merge requests need your attention. This ext..
Trudl是用于创建和运行UI测试的无代码工具。Trudl是Selenium的一个很好的替代方案,如果你不想花时间设置它,编写脚本和维护它们。 使用trutdl进行UI功能测试..
Trudl是用于创建和运行UI测试的无代码工具。Trudl是Selenium的一个很好的替代方案,如果你不想花时间设置它,编写脚本和维护它们。 使用trutdl进行UI功能测试很容易: 1.使用此Chrome扩展在Chrome浏览器中记录测试 2.转到trudl.io,下载用于本地运行测试的桌面应用程序 3.查看测试结果,截图等!
This extension give your api name of..
This extension give your api name of any field you want. This Extension saves your few clicks to get api name of any field. You can just choose your object name and get all the fie..
Accept Instagram follow request usin..
Accept Instagram follow request using this tool. No need to click on each request accept it all together.
Take a screenshot, annotate it and u..
Take a screenshot, annotate it and upload directly to Jira. With Screenshots for Jira you can easily take screenshots from any website and annotate them with text, shapes and drawi..
View the source code of a page with the click of a button.
View the source code of a page with the click of a button.
Visual selection of page element, na..
Visual selection of page element, navigate to parent, build XTag Selector (for XTagManager and Schneider Electric Tag Manager) XTag Selector allows to visually select any element i..
Provides folder structure view for c..
Provides folder structure view for code in GitHub. Provides tree view structure of changed files for Commits and Pull Requests. Works on Github.com and Github Enterprise (on custom..

Host Switch Plus插件下载

免费下载插件商店