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

Similar Extensions

User reviews

icon

Max Sysoev (ID: 0000005b21b91328) Voted 5 ★ - Updated 06/28/2018 Works like a charm

icon

Attila Lendvai (ID: 0000005331c183f4) Voted 2 ★ - Updated 01/24/2017 It's exactly what I want, but it doesn't seem to work. When I enter "https://facebook.com" into the address bar, I expect the rule "*://facebook.com" to get triggered, but it just loads facebook.com.