Hot Swap paths to files.
WebRequest Redirect Extension
Create 307 Internal Redirect for mapped paths.
Two ways to create redirect for files:
Single File — redirect for specific single file.
For example from http://example.com/prod/script.js to http://example.com/test/script.js.
Domain — redirect all requests from one domain to another (pathname and search will be saved).
For example from http://production.com to http://staging.com.
Enjoy new version of frameworks, library or styles without changes on site.
Read more
Two ways to create redirect for files:
Single File — redirect for specific single file.
For example from http://example.com/prod/script.js to http://example.com/test/script.js.
Domain — redirect all requests from one domain to another (pathname and search will be saved).
For example from http://production.com to http://staging.com.
Enjoy new version of frameworks, library or styles without changes on site.
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 2, "name": "WebRequest Redirect", "description": "Hot Swap paths to files.", "version": "0.0.7", "icons": { "48": "img/icon/icon-48x48.png" }, "browser_action": { "default_icon": "img/icon/icon-48x48.png" }, "content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'", "permissions": [ "activeTab", "contextMenus", "webRequest", "webRequestBlocking", "background", "storage", "" ], "background": { "page": "background.html" }, "options_page": "options.html"}
Read more