Automatically generate content security policy headers online for any website.

Latest Version

Version
0.14
Update
November 4, 2024
Size
2.65MiB
Developer
csper.io
Category
Users
20,000+
Rating
4.35714 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
DeclarativeNetRequest
Tabs
Storage
See more

Content Security Policy (CSP) Generator Extension

Content Security Policy (CSP) Generator is a chrome extension for automatically generating Content Security Policy headers on any website in minutes.

Built by: https://csper.io


--
Learn more about CSP:
https://www.youtube.com/watch?v=LBIANHdBoUA
https://csper.io/docs/content-security-policy
https://csper.io/docs/report-uri

Video Demo:
https://www.youtube.com/watch?v=6S8fl24001s

https://csper.io/generator
https://github.com/csper-io/csp-generator
https://csper.io
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "version": "0.14", "name": "Content Security Policy (CSP) Generator", "short_name": "CSP Generator", "description": "Automatically generate content security policy headers online for any website.", "icons": { "128": "assets/csper_128.png" }, "action": { "default_icon": { "128": "assets/csper_128.png" }, "default_title": "Content Security Policy (CSP) Generator", "default_popup": "index.html" }, "permissions": [ "declarativeNetRequest", "tabs", "storage" ], "host_permissions": [ "https://*/*", "http://*/*", "*://*/", "https://csper.io/", "https://csper.club/", "http://localhost:8080/", "ws://localhost:8080/" ], "content_security_policy": { "extension_pages": "script-src 'self'; style-src 'unsafe-inline'; object-src 'none'; connect-src wss://csper.io wss://csper.club https://csper.io https://csper.club http://localhost:8080 ws://localhost:8080" }, "author": "Stuart Larsen", "homepage_url": "https://csper.io"}
Read more

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

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

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

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

Look for the Content Security Policy (CSP) Generator extension you wish to install. Go to the website and download the Content Security Policy (CSP) Generator 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) 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 Content Security Policy (CSP) 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 Content Security Policy (CSP) Generator extension for Chrome and install in Developer Mode

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

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

Similar Extensions

icon

Content Security Policy Override Extension · Developer Tools 20,000+ 9 ★ 13.54KiB

icon

CSP Evaluator Extension · Developer Tools 20,000+ 29 ★ 297KiB

icon

Security-Header-Extension Extension · Developer Tools 20,000+ 7 ★ 510KiB

icon

CSP Tester Extension · Developer Tools 20,000+ 7 ★ 16.61KiB

icon

Caspr: Enforcer Extension · Developer Tools 20,000+ 7 ★ 478KiB

icon

Disable Content-Security-Policy Extension · Developer Tools 20,000+ 91 ★ 29.02KiB

icon

Apollo Client Devtools Extension · Developer Tools 20,000+ 266 ★ 490KiB

icon

Always Disable Content-Security-Policy Extension · Developer Tools 20,000+ 18 ★ 13.2KiB

icon

CORS Unblock Extension · Developer Tools 20,000+ 162 ★ 203KiB

icon

Google Analytics Debugger Extension · Developer Tools 20,000+ 533 ★ 28.88KiB

icon

axe DevTools - Web Accessibility Testing Extension · Accessibility 20,000+ 114 ★ 2.89MiB

icon

Xdebug helper Extension · Developer Tools 20,000+ 429 ★ 70.13KiB

icon

Analytics Debugger Extension · Developer Tools 20,000+ 211 ★ 300KiB

icon

BrowserStack Extension · Developer Tools 20,000+ 95 ★ 805KiB

icon

Allow CSP: Content-Security-Policy Extension · Developer Tools 20,000+ 2 ★ 49.95KiB

icon

Web Vitals Extension · Developer Tools 20,000+ 43 ★ 398KiB

icon

retire.js Extension · Developer Tools 20,000+ 9 ★ 132KiB

icon

CSS Used Extension · Developer Tools 20,000+ 184 ★ 164KiB

icon

Datalayer Checker Extension · Developer Tools 20,000+ 33 ★ 93.13KiB

icon

WAVE Evaluation Tool Extension · Accessibility 20,000+ 143 ★ 344KiB

icon

Allow CORS: Access-Control-Allow-Origin Extension · Productivity 20,000+ 279 ★ 78.31KiB

icon

Dr.FLARE Extension · Developer Tools 20,000+ 13 ★ 1.66MiB

icon

Blackfire Profiler Extension · Developer Tools 20,000+ 24 ★ 1.62MiB

icon

Requestly - Intercept, Modify & Mock HTTP Requests Extension · Developer Tools 20,000+ 1227 ★ 876KiB

User reviews

icon

Pyarelal Knowles (ID: 000000f516985aa0) Voted 3 ★ - Updated 01/24/2022 looks like a really helpful tool. at one point it broke access to my site though and pages would not load

icon

Edo Budim (ID: 000000ffcbad82f5) Voted 4 ★ - Updated 12/10/2021 I found this extension very useful, but it stopped working. It was working month or two ago, but now it is not generating policies at all

icon

NeoJack (ID: 000000a97f6498fd) Voted 3 ★ - Updated 12/28/2020 $7 per month .. should be stated upfront.. looks handy tool but dont like being tricked into having to pay for simple 1 time report.

icon

Yuliya Yasenetska (ID: 0000004b971d3511) Voted 5 ★ - Updated 11/11/2020 It was surprisingly easy to generate a content security policy with this tool with my limited csp knowledge. Thanks for creating this extension!

icon

Connor Chong (ID: 000000949d9d1985) Voted 5 ★ - Updated 10/21/2020 Super helpful extension! Finding edge cases in CSP is definitely annoying, but this saved me a lot of time. I think there were some edge cases with blobs that weren't covered, but great product nonetheless.