searxngRebrandZaclys/searx/static/themes/simple/src
Markus Heiser 2b26285a73 [fix] simple theme: make autocomplete-js CSP compliant
The CSP issue is, that the `_Position` function in the autocomplete-js set the
style attributes by `setAttribute("style", ...)`.  Using `setAttribute` to set
the style attribute invokes the HTML parser and CSP is triggered [1].

This patch overwrite the `_Position` function of autocomplete-js.

BTW: remove trailing whitespace

[1] https://stackoverflow.com/a/57633533

Closes: https://github.com/searxng/searxng/issues/352
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-12-05 11:48:23 +01:00
..
generated [simple theme] update to ion icons 5 and drop webfont 2021-11-13 10:42:07 +01:00
js [fix] simple theme: make autocomplete-js CSP compliant 2021-12-05 11:48:23 +01:00
less [fix] simple theme: set img background color to wallpaper's color 2021-11-29 20:47:37 +01:00
svg [brand] initial - folder src/brand for searxng-wordmark 2021-11-20 10:14:55 +01:00