Switch from production to development environment, opening the same url into dev environment such as in localhost.
Switch environment Extension
It's a Developer extension. Clicking on Switch Env icon, will open the same URL but in the development environment that is configured.
First, you have to configure in the option page the 'switch' for an specific URL and his development URL. For example: twitter.com to http://localhost:8080/some-path
So, when you're in http://twitter.com/matiascarranza, click on the icon and a new tab is opened with the url http://localhost:8080/some-path/matiascarranza.
Also, you can change the \"localhost\" to an especific URL or domain, such as 192.0.0.1 or dev.example.com
The port and path options are optional.
Read more
First, you have to configure in the option page the 'switch' for an specific URL and his development URL. For example: twitter.com to http://localhost:8080/some-path
So, when you're in http://twitter.com/matiascarranza, click on the icon and a new tab is opened with the url http://localhost:8080/some-path/matiascarranza.
Also, you can change the \"localhost\" to an especific URL or domain, such as 192.0.0.1 or dev.example.com
The port and path options are optional.
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Switch environment", "description": "Switch from production to development environment, opening the same url into dev environment such as in localhost.", "version": "3.0.0", "manifest_version": 2, "permissions": [ "tabs", "http://*/*", "https://*/*" ], "background": { "scripts": ["parseuri.js", "background.js"] }, "browser_action": { "default_title": "Switch!", "default_icon": "code_48x52.png" }, "icons": { "48": "code_48x52.png", "128": "code_124x135.png" }, "options_page": "options.html"}
Read more