Automatically generate csp_whitelist.xml files for Magento.

Latest Version

Version
1.0
Update
August 23, 2024
Size
96.89KiB
Developer
m.academy
Category
Users
781
Rating
5 ★
Manifest Version
3
Web Store Status
Languages Support
English (United States)
See more
Permissions
ActiveTab
Storage
Tabs
WebRequest
See more

Magento CSP Whitelist Generator Extension

This Google Chrome browser plugin makes it easy to create csp_whitelist.xml files for Magento. By simply installing the plugin and browsing the pages of your site, the plugin will automatically generate a whitelist of URLs that can be used to create a csp_whitelist.xml file for your Magento 2 site.

Setting up csp_whitelist.xml files can be confusing and time-consuming. This module makes it very easy to generate a whitelist of these URLs. It's also possible that manually creating a csp_whitelist.xml file can be error-prone. This module helps to avoid these errors by automatically generating the whitelist for you.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Magento CSP Whitelist Generator", "version": "1.0", "description": "Automatically generate csp_whitelist.xml files for Magento.", "permissions": [ "activeTab", "storage", "tabs", "webRequest" ], "host_permissions": [ "" ], "action": { "default_popup": "popup.html", "default_icon": { "16": "icons/icon16.png", "48": "icons/icon48.png", "128": "icons/icon128.png" } }, "background": { "service_worker": "background.js" }, "icons": { "16": "icons/icon16.png", "48": "icons/icon48.png", "128": "icons/icon128.png" }}
Read more

How to download and manually install Magento CSP Whitelist Generator extension for Chrome

Looking for a way to install Magento CSP Whitelist Generator 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 Magento CSP Whitelist Generator extensions manually, this article outlines two simple methods to effortlessly install Magento CSP Whitelist Generator extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Magento CSP Whitelist Generator extension and manually install through Drag &Drop

If you ever need to manually install a Magento CSP Whitelist Generator 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 Magento CSP Whitelist Generator Extension by clicking the "Download CRX" button on the website.

Look for the Magento CSP Whitelist Generator extension you wish to install. Go to the website and download the Magento CSP Whitelist Generator extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Magento CSP Whitelist Generator 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 Magento CSP Whitelist Generator 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 Magento CSP Whitelist Generator extension for Chrome and install in Developer Mode

This is another method to install Magento CSP Whitelist Generator 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 Magento CSP Whitelist Generator extension file

Select and download the Magento CSP Whitelist Generator 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 Magento CSP Whitelist Generator 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 Magento CSP Whitelist Generator 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 Magento CSP Whitelist Generator 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 Magento CSP Whitelist Generator extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

GraphiQL extension Extension · Developer Tools 781 4 ★ 601KiB

icon

MageSpecialist DevTools for Magento Extension · Developer Tools 781 14 ★ 4.64MiB

icon

Web Vitals Extension · Developer Tools 781 43 ★ 398KiB

icon

Xdebug helper Extension · Developer Tools 781 429 ★ 70.13KiB

icon

Datalayer Checker Extension · Developer Tools 781 33 ★ 93.13KiB

icon

Knockoutjs context debugger Extension · Developer Tools 781 3 ★ 845KiB

icon

Altair GraphQL Client Extension · Developer Tools 781 68 ★ 6.78MiB

icon

CSP Evaluator Extension · Developer Tools 781 29 ★ 297KiB

icon

Blackfire Profiler Extension · Developer Tools 781 24 ★ 1.62MiB

icon

ChromeiQL Extension · Developer Tools 781 32 ★ 682KiB

icon

Analytics Debugger Extension · Developer Tools 781 211 ★ 300KiB

icon

Knockout Context Hover Extension · Developer Tools 781 11 ★ 92.1KiB

icon

Alpine.js devtools Extension · Developer Tools 781 34 ★ 67.78KiB

icon

Content Security Policy (CSP) Generator Extension · Developer Tools 781 14 ★ 2.65MiB

icon

Elasticvue Extension · Developer Tools 781 73 ★ 3.43MiB

icon

Page load time Extension · Developer Tools 781 256 ★ 19.72KiB

icon

LiveReload Extension · Developer Tools 781 808 ★ 60.78KiB

icon

dataslayer Extension · Developer Tools 781 80 ★ 417KiB

icon

Xdebug Chrome Extension Extension · Developer Tools 781 3 ★ 169KiB

icon

GraphQL Network Inspector Extension · Developer Tools 781 123 ★ 8.34MiB

icon

GraphQL developer tools Extension · Developer Tools 781 24 ★ 98.19KiB

icon

Time Tracker by Tempo Extension · Productivity 781 84 ★ 1.73MiB

icon

Multi Elasticsearch Heads Extension · Developer Tools 781 71 ★ 476KiB

icon

Schema Builder for Structured Data Extension · Developer Tools 781 29 ★ 889KiB