https://github.com/jjgonecrypto/chrome-envious
Run test environments against local resources. Redirects requests for resources to any other. Useful when you want to run local JS and CSS against a deployed environment.
https://github.com/jjgonecrypto/chrome-envious
chrome chrome-extension hot-swap-environment
Last synced: 10 months ago
JSON representation
Run test environments against local resources. Redirects requests for resources to any other. Useful when you want to run local JS and CSS against a deployed environment.
- Host: GitHub
- URL: https://github.com/jjgonecrypto/chrome-envious
- Owner: jjgonecrypto
- License: mit
- Created: 2016-12-09T16:55:26.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-09-08T02:16:22.000Z (almost 7 years ago)
- Last Synced: 2024-04-15T09:54:44.749Z (about 2 years ago)
- Topics: chrome, chrome-extension, hot-swap-environment
- Language: JavaScript
- Homepage:
- Size: 43.9 KB
- Stars: 4
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Chrome Envious
Replace matching URL requests from one domain to another. Useful when you want to run local JS and CSS against a deployed environment.

## Installation
1. Clone this repo (git clone)
1. Open Chrome [extensions](chrome://extensions/) (`chrome://extensions/`)
1. Enable `Developer Mode` (top right checkbox)
1. Click `Load unpacked extension`
1. Chose the cloned repo
## Configuration
1. Click **Options** to set the match and replace prefixes 
## Gotchas
If you need to mix content - i.e. replace HTTPS requests with HTTP ones - then you will need to explicitly allow this in Chrome. Click the icon below and then "Load unsafe scripts" 
## Changelog
- `1.1` Fixed issue where scripts loaded via ajax (XHR) would result in Chrome issuing `Request header field X-Requested-With is not allowed by Access-Control-Allow-Headers in preflight response`
- `1.2` Icon in Chrome toolbar that highlights green when Envious has matched anything in the tab. 