Determine the safest Content Security Policy for the current web page.

Latest Version

Version
1.0
Update
February 17, 2024
Size
48.03KiB
Developer
codeguardian.nl
Category
Users
111
Rating
0 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
ActiveTab
Scripting
See more

Content Security Policy (CSP) Helper Extension

This extension helps you to retrofit a strict Content Security Policy (CSP) header to the current web page by analyzing its' contents.
This is especially useful for older web pages that do not yet implement a strict CSP.

Note: The CSP is a best guess based on the current page. Support for font sources and connect sources is still being worked on!

The extension is built upon AutoCSP that was first developed by Ferran Basora in 2016.

More info about Code Guardian can be found on codeguardian.nl
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Content Security Policy (CSP) Helper", "version": "1.0", "description": "Determine the safest Content Security Policy for the current web page.", "permissions": ["activeTab", "scripting"], "action": { "default_popup": "popup.html", "default_icon": { "16": "images/icon16.png", "32": "images/icon32.png", "192": "images/icon192.png" } }, "icons": { "16": "images/icon16.png", "32": "images/icon32.png", "128": "images/icon128.png", "192": "images/icon192.png" }}
Read more

How to download and manually install Content Security Policy (CSP) Helper extension for Chrome

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

Method 1: Download Content Security Policy (CSP) Helper extension and manually install through Drag &Drop

If you ever need to manually install a Content Security Policy (CSP) Helper 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 Content Security Policy (CSP) Helper Extension by clicking the "Download CRX" button on the website.

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

This is another method to install Content Security Policy (CSP) Helper 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 Content Security Policy (CSP) Helper extension file

Select and download the Content Security Policy (CSP) Helper 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 Content Security Policy (CSP) Helper 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 Content Security Policy (CSP) Helper 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 Content Security Policy (CSP) Helper 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 Content Security Policy (CSP) Helper extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

XTag Google Analytics: Record & check UA,GA4 Extension · Productivity 111 2 ★ 290KiB

icon

Analytics Debugger Extension · Developer Tools 111 211 ★ 300KiB

icon

Anti-CORS, anti-CSP Extension · Developer Tools 111 0 ★ 42.35KiB

icon

CSP Unblock Extension · Developer Tools 111 2 ★ 114KiB

icon

Allow CSP: Content-Security-Policy Extension · Developer Tools 111 2 ★ 49.95KiB

icon

Caspr: Enforcer Extension · Developer Tools 111 7 ★ 478KiB

icon

Disable Content-Security-Policy Extension · Developer Tools 111 91 ★ 29.02KiB

icon

CSP Tester Extension · Developer Tools 111 7 ★ 16.61KiB

icon

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

icon

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

icon

Always Disable Content-Security-Policy Extension · Developer Tools 111 18 ★ 13.2KiB

icon

Magento CSP Whitelist Generator Extension · Developer Tools 111 10 ★ 96.89KiB

icon

Security-Header-Extension Extension · Developer Tools 111 7 ★ 510KiB

icon

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

icon

CSP Evaluator Extension · Developer Tools 111 29 ★ 297KiB

icon

Content Security Policy Override Extension · Developer Tools 111 9 ★ 13.54KiB

icon

SAML DevTools extension Extension · Developer Tools 111 29 ★ 7.85MiB

icon

retire.js Extension · Developer Tools 111 9 ★ 132KiB

icon

Simple Data Layer Viewer Extension · Developer Tools 111 13 ★ 77.96KiB

icon

Site Bleacher Extension · Productivity 111 3 ★ 23.54KiB

icon

SAML, WS-Federation and OAuth 2.0 tracer Extension · Developer Tools 111 8 ★ 128KiB

icon

simple-modify-headers Extension · Developer Tools 111 18 ★ 144KiB

icon

Vulners Web Scanner Extension · Productivity 111 20 ★ 534KiB

icon

OWASP Penetration Testing Kit Extension · Developer Tools 111 43 ★ 7.14MiB