Skip to content

inadeemkhan/magento2-csp-disable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magento 2 Extension — CSP Disable

Magento PHP Contributions

Magento 2 extension that disables Content Security Policy (CSP) to prevent script, inline JavaScript, and third-party resource blocking issues on both frontend and admin panels.

Installation

  1. Copy the contents of this repository into:
    {MAGENTO_ROOT}/app/code/DevScripts/CSPDisable/
  2. Run the following commands in your Magento root directory:
    php bin/magento setup:upgrade
    php bin/magento setup:static-content:deploy
    php bin/magento cache:flush

Screenshots

Admin Configuration

Admin Configuration


Prerequisites

Ensure the following requirements are met before installing this extension:

Prerequisite How to Check Documentation
Apache / Nginx apache2 -v (Ubuntu)

nginx -v
Apache Docs
Nginx Docs
PHP >= 8.1 php -v PHP on Ubuntu
PHP on CentOS
MySQL 5.6.x mysql -u [root username] -p MySQL Docs

Contribution

Contributions are welcome!
The fastest way to contribute is by submitting a pull request on GitHub.


Issues & Support

If you encounter any issues or bugs, please open an issue on GitHub.

For direct support or feedback, feel free to contact:
📧 khannadeem243@gmail.com

About

Magento 2 extension that disables Content Security Policy (CSP) to prevent script, inline JavaScript, and third-party resource blocking issues on both frontend and admin panels.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages