diff --git a/CHANGELOG.md b/CHANGELOG.md
index 815f10fe..2be1fa0c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
+## [Unreleased]
+
+### Changed
+
+- Make the plugin compatible with the Content Security Policy
+
## [1.11.1] - 2026-11-04
### Added
diff --git a/ajax/dropdownExport.php b/ajax/dropdownExport.php
index efac9bac..da7ca2ef 100644
--- a/ajax/dropdownExport.php
+++ b/ajax/dropdownExport.php
@@ -54,9 +54,9 @@
"style='margin: 0; padding: 0' target='_blank'>";
echo "";
echo "";
+ "value='" . _sx('button', 'Post') . "' />";
Html::Closeform();
- echo "";
+ ");
} else {
echo " ";
- echo "";
+ ");
}
}
diff --git a/front/popup.php b/front/popup.php
index efb54c49..82ea6e9a 100644
--- a/front/popup.php
+++ b/front/popup.php
@@ -41,6 +41,7 @@
echo "
";
echo '
';
-echo "
" . __s('Back') . '';
+echo "';
+echo Html::scriptBlock("$('#mreporting_popup_close').on('click', function (e) { e.preventDefault(); window.close(); });");
echo '
';
Html::popFooter();
diff --git a/inc/common.class.php b/inc/common.class.php
index b933cc72..ddbcdf55 100644
--- a/inc/common.class.php
+++ b/inc/common.class.php
@@ -254,9 +254,9 @@ public static function getSelectAllReports($onchange = false, $setIdInOptionsVal
return '';
}
- $js_onchange = $onchange ? " onchange='window.location.href=this.options[this.selectedIndex].value'" : '';
+ $select_id = 'mreporting_report_select' . mt_rand();
- $select = "