# Notification Banners

**URL:** https://meta.discourse.org/t/notification-banners/325279
**Category:** Theme component
**Created:** [September 6, 2024, 8:47am UTC](https://meta.discourse.org/t/notification-banners/325279 "2024-09-06T08:47:28Z")
**Posts on this page:** 1
**Showing post:** 38

<div class="post-metadata">

### Author: ![Roi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roi/32/130587_2.png) [@Roi](https://meta.discourse.org/u/Roi)
#### Post date: [November 4, 2025, 8:44am UTC](https://meta.discourse.org/t/notification-banners/325279/38 "2025-11-04T08:44:31Z")

</div>

> [@gormus](#):
>
> Do you happen to see any errors logged in the console?

Only deprecation notices. Plus (but only in Opera, not Firefox, and I have set `Content security policy script src` to `'unsafe-eval'` for a long time):

> Content Security Policy of your site blocks the use of ‘eval’ in JavaScript`
> 
> The Content Security Policy (CSP) prevents the evaluation of arbitrary strings as JavaScript to make it more difficult for an attacker to inject unathorized code on your site.
> 
> To solve this issue, avoid using `eval()`, `new Function()`, `setTimeout([string], ...)` and `setInterval([string], ...)` for evaluating strings.
> 
> If you absolutely must: you can enable string evaluation by adding `unsafe-eval` as an allowed source in a `script-src` directive.

> [@gormus](#):
>
> If the console is free of errors, perhaps you could DM your config using Settings Editor?  
> Pls sanitize the message strings from any sensitive details you may have.

Thank you. I can also post this here, as I only have one test banner active at the moment:

```plaintext
[
	{
		"setting": "banners",
		"value": [
			{
				"title": "Testbanner Titel",
				"message": "Testbanner Text Testbanner Text",
				"date_after": "2025-11-01 12:00:00Z",
				"date_before": "2025-12-01 12:00:00Z",
				"dismissable": true,
				"plugin_outlet": "top-notices",
				"enabled_groups": [
					1
				]
			}
		]
	},
	{
		"setting": "splide_options__above_site_header",
		"value": "{ \"autoHeight\": true, \"height\": \"8rem\", \"arrows\": false, \"autoplay\": true, \"direction\": \"ttb\", \"focus\": \"center\", \"gap\": 0, \"type\": \"loop\" }"
	},
	{
		"setting": "splide_options__below_site_header",
		"value": "{ \"autoHeight\": true, \"height\": \"8rem\", \"arrows\": false, \"autoplay\": true, \"direction\": \"ttb\", \"focus\": \"center\", \"gap\": 0, \"type\": \"loop\" }"
	},
	{
		"setting": "splide_options__top_notices",
		"value": "{ \"autoHeight\": true, \"height\": \"8rem\", \"arrows\": false, \"autoplay\": true, \"direction\": \"ttb\", \"focus\": \"center\", \"gap\": 0, \"type\": \"loop\" }"
	}
]

```

I also tried without start and end dates and the other two plugin outlets. Also I have tried `everyone` instead of `Administrators` (this must be group `1` here in the setttings) to see an effect in Firefox without logging into the site. And I did not doctor with the splide options.

---

_[View the full topic](https://meta.discourse.org/t/notification-banners/325279)._
