diff --git a/plugin/CookieAlert/CookieAlert.php b/plugin/CookieAlert/CookieAlert.php
index ac551206cf..664cfe6933 100644
--- a/plugin/CookieAlert/CookieAlert.php
+++ b/plugin/CookieAlert/CookieAlert.php
@@ -1,59 +1,59 @@
-doNotShow()){
- return "";
- }
- $obj = $this->getDataObject();
- global $global;
- $css = '';
- $css .= '';
- return $css;
- }
-
- private function doNotShow(){
- $baseName = basename($_SERVER["SCRIPT_FILENAME"]);
- if(isEmbed() || preg_match("/embed/i", $baseName) || !empty($_GET['embed'])){
- return true;
- }
- return false;
- }
-
- public function getEmptyDataObject() {
- $obj = new stdClass();
- $obj->text = 'This website uses cookies 🍪 so we can provide you with the best user experience. Without these cookies, the website simply would not work.';
- $obj->btnText = 'I agree';
- return $obj;
- }
-
- public function getFooterCode() {
- if($this->doNotShow()){
- return "";
- }
- $obj = $this->getDataObject();
- global $global;
-
- include $global['systemRootPath'] . 'plugin/CookieAlert/footer.php';
- }
-
-}
+doNotShow()){
+ return "";
+ }
+ $obj = $this->getDataObject();
+ global $global;
+ $css = '';
+ $css .= '';
+ return $css;
+ }
+
+ private function doNotShow(){
+ $baseName = basename($_SERVER["SCRIPT_FILENAME"]);
+ if(isEmbed() || preg_match("/embed/i", $baseName) || preg_match("/chat2/i", $baseName) || !empty($_GET['embed'])){
+ return true;
+ }
+ return false;
+ }
+
+ public function getEmptyDataObject() {
+ $obj = new stdClass();
+ $obj->text = 'This website uses cookies 🍪 so we can provide you with the best user experience. Without these cookies, the website simply would not work.';
+ $obj->btnText = 'I agree';
+ return $obj;
+ }
+
+ public function getFooterCode() {
+ if($this->doNotShow()){
+ return "";
+ }
+ $obj = $this->getDataObject();
+ global $global;
+
+ include $global['systemRootPath'] . 'plugin/CookieAlert/footer.php';
+ }
+
+}