Overview
It overrides resources, JS, CSS, Image, and fonts, of a website with the copies from a local web server.
It enables you to - Debug a remote web site, for which source map is usually disabled, with your local web server - Test your local changes with actual data from remote servers - integration test before pull request The idea and its implementation are based on HTTP and HTML web standards, independent to the framework of your choice, with the following constraints: - It doesn't work with `document.write()` - "Bypass for network" for service workers. See screenshots for instruction. - Web socket is not redirected, i.e. Hot module reload (hmr) or live reload doesn't work unless you can force their origin to localhost It's similar to "Resource Override", but built for Manifest V3, and easy to integration into automated tests. See - Resource Override, https://chrome.google.com/webstore/detail/resource-override/pkoacgokdfckfpndoffpifphamojphii - Manifest V2 support timeline, https://developer.chrome.com/docs/extensions/develop/migrate/mv2-deprecation-timeline - Test automation examples, https://github.com/renfeng/web-mask/tree/master/test/specs Tests (in alphabetic order) - An Angular website: https://material.angular.io/ - Source code: https://github.com/angular/material.angular.io - Successful. Automated. - A React website: https://reactjs.org/ - Source code: https://github.com/reactjs/reactjs.org - Successful. Automated. - A Vue.js website: https://vuejs.org/ - Source code: https://github.com/vuejs/docs - Successful. Automated.
Willem van der Pijl (SirEpicPigeon)May 5, 2023
Works like a dream!
Details
- Version2.4
- UpdatedApril 24, 2024
- Offered byFrank Ren
- Size48.97KiB
- LanguagesEnglish (UK)
- Developer
Email
renfeng.cn@gmail.com - Non-traderThis developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.
Privacy
This developer declares that your data is
- Not being sold to third parties, outside of the approved use cases
- Not being used or transferred for purposes that are unrelated to the item's core functionality
- Not being used or transferred to determine creditworthiness or for lending purposes