Hot Swap paths to files.

Latest Version

Version
0.0.7
Update
March 15, 2017
Size
87.97KiB
Developer
Category
Users
146
Rating
4 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
ActiveTab
ContextMenus
WebRequest
WebRequestBlocking
Background
Storage

See more

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

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