From 17b52b6027472e5002dfef8a0607acf2dca80427 Mon Sep 17 00:00:00 2001 From: JustOff Date: Fri, 11 Feb 2022 15:27:05 +0200 Subject: Temp fix for GitHub modern ECMAScript mania Related discussion: - https://github.com/JustOff/github-wc-polyfill/issues/43 --- bootstrap.js | 1 + 1 file changed, 1 insertion(+) diff --git a/bootstrap.js b/bootstrap.js index 9e73e93..9057b1a 100644 --- a/bootstrap.js +++ b/bootstrap.js @@ -263,6 +263,7 @@ tracingListener.prototype = { try { if (this.site == "github") { data = data.replace("", ""); + data = data.replace(/<\/script>/, ""); data = data.replace("", ""); if (isSeaMonkey) { data = data.replace("", ""); -- cgit v1.2.3