From b339d18dcc8caf0ad60f1a280954de07801cfe56 Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Sun, 7 Apr 2019 09:19:32 -0400 Subject: [PATCH] commento band-aid --- static/style.css | 6 +++++- worker.js | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/static/style.css b/static/style.css index b6730f76..368de09b 100644 --- a/static/style.css +++ b/static/style.css @@ -763,11 +763,15 @@ body#notes div#single div#commento { margin-top: 20px; } -body#notes div#single div#commento .commento-name { +body#notes div#single div#commento a.commento-name { max-width: none !important; border: none; } +body#notes div#single div#commento div.commento-logged-container { + display: block !important; +} + body#notes div#single div#commento div#commento-footer { display: none; } diff --git a/worker.js b/worker.js index 302a6fc4..7b48daa6 100644 --- a/worker.js +++ b/worker.js @@ -1,5 +1,5 @@ let newHeaders = { - "Content-Security-Policy": "default-src 'none'; script-src 'self' stats.jarv.is commento.jarv.is 'sha256-QwZM+dNl2R1KcXo8ORmpT3mqAVwIBbEcJBmWYurBNv4='; style-src 'self' 'unsafe-inline' commento.jarv.is; img-src 'self' data: https:; font-src 'self' commento.jarv.is; object-src 'self'; media-src 'self'; base-uri 'none'; form-action 'self'; frame-src 'self' www.youtube.com www.youtube-nocookie.com; frame-ancestors 'self'; worker-src 'none'; connect-src 'self' jarvis.report-uri.com stats.jarv.is commento.jarv.is; upgrade-insecure-requests; report-uri https://jarvis.report-uri.com/r/d/csp/enforce; report-to default", + "Content-Security-Policy": "default-src 'none'; script-src 'self' 'unsafe-inline' stats.jarv.is commento.jarv.is; style-src 'self' 'unsafe-inline' commento.jarv.is; img-src 'self' data: https:; font-src 'self' commento.jarv.is; object-src 'self'; media-src 'self'; base-uri 'none'; form-action 'self'; frame-src 'self' www.youtube.com www.youtube-nocookie.com; frame-ancestors 'self'; worker-src 'none'; connect-src 'self' jarvis.report-uri.com stats.jarv.is commento.jarv.is; upgrade-insecure-requests; report-uri https://jarvis.report-uri.com/r/d/csp/enforce; report-to default", "Report-To": "{\"group\":\"default\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://jarvis.report-uri.com/a/d/g\"}]}", "NEL": "{\"report_to\":\"default\",\"max_age\":604800}", // "Strict-Transport-Security" : "max-age=1000",