Creates a loading function for a typical static file url pattern: "lang-en_US.json", "lang-de_DE.json", etc. Using this builder, the response of these urls must be an object of key-value pairs.
Creates a loading function for a typical dynamic url pattern: "locale.php?lang=en_US", "locale.php?lang=de_DE", "locale.php?language=nl_NL" etc. Prefixing the specified url, the current requested, language id will be applied with "?{queryParameter}={key}". Using this service, the response of these urls must be an object of key-value pairs.
DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. It's written in JavaScript and works in all modern browsers (Safari, Opera (15+), Internet Explorer (10+), Firefox and Chrome - as well as almost anything else using Blink or WebKit). DOMPurify is written by security people who have vast background in web attacks and XSS. Fear not.