It overrides resources, JS, CSS, Image, and fonts, of a website with the copies from a local web server.

Latest Version

Version
2.4
Update
April 24, 2024
Size
48.97KiB
Developer
Category
Users
74
Rating
5 ★
Manifest Version
3
Web Store Status
Languages Support
English (UK)
See more
Permissions
DeclarativeNetRequestWithHostAccess
WebRequest
See more

Web Mask Extension

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.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Web Mask", "description": "It overrides resources, JS, CSS, Image, and fonts, of a website with the copies from a local web server.", "version": "2.4", "icons": { "16": "icon16.png", "48": "icon48.png", "128": "icon128.png" }, "action": { "default_popup": "popup.html" }, "background": { "service_worker": "background.js" }, "content_scripts": [ { "matches": ["*://*/*"], "js": ["content.js"], "all_frames": true } ], "web_accessible_resources": [ { "matches": ["*://*/*"], "resources": ["page.js"] } ], "permissions": ["declarativeNetRequestWithHostAccess", "webRequest"], "host_permissions": ["*://*/*"]}
Read more

How to download and manually install Web Mask extension for Chrome

Looking for a way to install Web Mask extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install Web Mask extensions manually, this article outlines two simple methods to effortlessly install Web Mask extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Web Mask extension and manually install through Drag &Drop

If you ever need to manually install a Web Mask extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the Web Mask Extension by clicking the "Download CRX" button on the website.

Look for the Web Mask extension you wish to install. Go to the website and download the Web Mask extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Web Mask extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the Web Mask extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download Web Mask extension for Chrome and install in Developer Mode

This is another method to install Web Mask extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the Web Mask extension file

Select and download the Web Mask extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the Web Mask extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Web Mask extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the Web Mask extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install Web Mask extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

Naro Extension · Productivity 74 0 ★ 2.12MiB

icon

Clear Portal Cache Extension · Developer Tools 74 1 ★ 60.0KiB

icon

Banner Animation Control - Dev Extension · Developer Tools 74 13 ★ 152KiB

icon

Panzoid+ Extension · Developer Tools 74 8 ★ 61.16KiB

icon

Share My Leetcode Extension · Social & Communication 74 0 ★ 154KiB

icon

Localhost HTTPS -> HTTP Extension · Developer Tools 74 2 ★ 30.72KiB

icon

Web Weaver Extension · Fun 74 3 ★ 2.35MiB

icon

HintEd Smart Manuals Editor Extension · Productivity 74 1 ★ 6.36MiB

icon

Passive Aggressive Email Translator Extension Extension · Fun 74 0 ★ 143KiB

icon

Parrot API mocking Extension · Developer Tools 74 5 ★ 3.6MiB

icon

Voiceline for Chrome Extension · Productivity 74 9 ★ 2.0MiB

icon

MeIP Extension · Developer Tools 74 0 ★ 162KiB

icon

Tagg Extension · Shopping 74 0 ★ 192KiB

icon

Add to Benevolist.org Button Extension · Shopping 74 0 ★ 26.28KiB

icon

Fantasy Basketball Video Replays Extension · Fun 74 1 ★ 352KiB

icon

Youtube Scripter Extension · Productivity 74 5 ★ 106KiB

icon

Scripter debugger extension Extension · Developer Tools 74 2 ★ 1.04MiB

icon

Wifi Share Extension · Productivity 74 2 ★ 899KiB

icon

Mink - Integrate Live & Archived Web +Memento Extension · Accessibility 74 4 ★ 902KiB

icon

Block Unreachable Scripts Extension · Productivity 74 6 ★ 11.06KiB

icon

Disable Content Security Policy Extension · Developer Tools 74 5 ★ 14.05KiB

icon

Evil Console Extension · Developer Tools 74 0 ★ 1.76MiB

icon

Universal Adobe Debugger Extension · Developer Tools 74 4 ★ 43.96KiB

icon

JS Vulnerability Detector Extension · Developer Tools 74 1 ★ 459KiB

User reviews

icon

Willem van der Pijl (SirEpicPigeon) (ID: 000000f03773a136) Voted 5 ★ - Updated 05/05/2023 Works like a dream!