aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--content/content.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/content/content.js b/content/content.js
index 120b16d..7cbb523 100644
--- a/content/content.js
+++ b/content/content.js
@@ -136,7 +136,9 @@ async function main() {
const html_ns = "http://www.w3.org/1999/xhtml";
const script = document.createElementNS(html_ns, "script");
- script.innerText = script_contents;
+ const blobby_opts = {type: "text/javascript;charset=UTF-8"};
+ const blobby = new Blob([script_contents], blobby_opts);
+ script.src = URL.createObjectURL(blobby);
script.setAttribute("nonce", policy.nonce);
document.documentElement.append(script);
script.remove();
n class='msg-avail'>...Ricardo Wurmus 2020-04-11gnu: hurd: "/libexec/rc" spawns the console client....Ludovic Courtès 2020-04-11gnu: hurd: Install a BDF font....Ludovic Courtès 2020-04-11gnu: hurd: Add dependency on libdaemon....Ludovic Courtès 2020-04-11gnu: hurd: Add dependency on libgcrypt....Ludovic Courtès 2020-04-11gnu: hurd: Install the UTF-8 motd....Ludovic Courtès 2020-04-11gnu: hurd: Ensure startup scripts refer to the right programs....Ludovic Courtès 2020-04-11gnu: hurd: Record the right file name of 'login'....Ludovic Courtès 2020-04-11gnu: hurd: Use a 32-bit MiG when cross-compiling....Ludovic Courtès 2020-04-11gnu: hurd: Provide our own /libexec/rc script....Ludovic Courtès 2020-04-11gnu: gnumach: Enable kernel debugger (kbd)....Ludovic Courtès 2020-04-08Merge branch 'master' into core-updates...Marius Bakke 2020-04-01gnu: gnumach: Fix compilation....Ludovic Courtès 2020-03-26gnu: hurd: Update to hurd-headers version: 0.9-91a51672....Jan Nieuwenhuizen 2020-03-24gnu: hurd: Fix hurd-target?, add hurd-system?....Jan Nieuwenhuizen 2020-02-16gnu: hurd-headers: Update snapshot....Marius Bakke 2020-02-02gnu: gnumach: Update to 1.8-1.097f9cf....Efraim Flashner