Add CSP to local web UI forbidding JavaScript eval()

This commit is contained in:
Max Berger
2026-03-18 21:04:50 +01:00
parent 238e3f9529
commit 99e9b7ec56
5 changed files with 34 additions and 14 deletions

View File

@@ -112,6 +112,7 @@ main {
#logoutview span {
width: calc(100% - 60px);
display: inline-block;
word-wrap: break-word;
}
#logoutview a {
@@ -191,6 +192,7 @@ main {
font-size: 1em;
max-height: 130px;
overflow: overlay;
word-wrap: break-word;
}
#collectionsscene article:hover ul {
@@ -518,3 +520,7 @@ button.inline {
margin: 0 2px;
width: 1.4em;
}
.hidden {
display: none !important;
}