Simplify web development by easily switching domains between specified URL groups.
Domain Switcher Extension
As a developer, it can be a hassle to switch between various environments (e.g. dev, uat, prod). This extension is designed to allow the developer to quickly swap environments when they are on a page while keeping their path intact.
Domain Switcher allows you to organize the environments for the various projects you work on. Simply create a \"project\" on the options page and enter the associated domains for the various environments for the project. We'll do the rest, and you'll be able to simply switch between environments by clicking the arrow icon in your address bar when you are on a page that matches one of your project environments.
For example, if you are working on a project about \"coffee\", you could enter environments: \"localhost:3000\", \"test.coffee.com\", \"coffee.com\". Then, when you are on any of these domains, you will have an icon in your URL bar that will allow you to switch to the other environments. The path of the page you are on is preserved in the URL.
This extension is open-source and hosted on GitHub. If you find an issue, help out by posting it there as an issue or submit a pull request. https://github.com/stevehanson/domain-switcher-chrome
Read more
Domain Switcher allows you to organize the environments for the various projects you work on. Simply create a \"project\" on the options page and enter the associated domains for the various environments for the project. We'll do the rest, and you'll be able to simply switch between environments by clicking the arrow icon in your address bar when you are on a page that matches one of your project environments.
For example, if you are working on a project about \"coffee\", you could enter environments: \"localhost:3000\", \"test.coffee.com\", \"coffee.com\". Then, when you are on any of these domains, you will have an icon in your URL bar that will allow you to switch to the other environments. The path of the page you are on is preserved in the URL.
This extension is open-source and hosted on GitHub. If you find an issue, help out by posting it there as an issue or submit a pull request. https://github.com/stevehanson/domain-switcher-chrome
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "name": "__MSG_appName__", "version": "0.6.1", "manifest_version": 2, "description": "__MSG_appDescription__", "icons": { "48": "images/icon-48.png", "128": "images/icon-128.png" }, "default_locale": "en", "background": { "scripts": [ "scripts/background.js" ] }, "page_action": { "default_icon": { "19": "images/icon-19.png", "38": "images/icon-38.png" }, "default_title": "Domain Switcher", "default_popup": "popup.html" }, "options_page": "options.html", "permissions": [ "tabs" ]}
Read more