summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustOff <Off.Just.Off@gmail.com>2021-12-04 12:50:02 +0200
committerJustOff <Off.Just.Off@gmail.com>2021-12-04 12:50:02 +0200
commit7dc122dadca0d103a6485c830eda44232e851aad (patch)
treec0e92ce7b31b754b587b1f8cd3fa58de8499d67d
parentb9cb3650a173c639b967cfbfd49f4989b682abb3 (diff)
downloadgithub-wc-polyfill-7dc122dadca0d103a6485c830eda44232e851aad.tar.gz
Update self-hosted GitLab instances domain list
Based on: - https://github.com/JustOff/github-wc-polyfill/issues/37#issuecomment-986003594 - https://gitlab.com/vednoc/dark-gitlab/-/commits/master/gitlab.user.css
-rw-r--r--bootstrap.js2
-rw-r--r--make_glmask.js2
2 files changed, 3 insertions, 1 deletions
diff --git a/bootstrap.js b/bootstrap.js
index c85a799..9e73e93 100644
--- a/bootstrap.js
+++ b/bootstrap.js
@@ -177,7 +177,7 @@ f.push(d.textContent);return f.join("")},set:function(f){for(;this.firstChild;)u
const hashCElements = "'sha256-rWWOwtKo7HU91YBF/nwZe2B2qiwVkRbtgbN0jJqfqXs='";
// Known GitLab instances based on https://gitlab.com/vednoc/dark-gitlab/-/blob/master/gitlab.user.css
-const glmask = "^gitlab.|^((0xacab|framagit)\.org|code\.(briarproject\.org|foxkit\.us|videolan\.org)|dev\.gajim\.org|forge\.tedomum\.net|git\.(callpipe\.com|cardiff\.ac\.uk|cit\.bcit\.ca|coop|drk\.sc|drupalcode\.org|empiresmod\.com|feneas\.org|fosscommunity\.in|gnu\.io|happy-dev\.fr|immc\.ucl\.ac\.be|jami\.net|ligo\.org|linux-kernel\.at|najer\.info|nzoss\.org\.nz|oeru\.org|pleroma\.social|pwmt\.org|silence\.dev|synz\.io)|gitgud\.io|gitplac\.si|invent\.kde\.org|lab\.libreho\.st|mau\.dev|mpeg\.expert|opencode\.net|repo\.getmonero\.org|salsa\.debian\.org|skylab\.vc\.h-brs\.de|source\.(joinmastodon\.org|puri\.sm|small-tech\.org))$";
+const glmask = "^gitlab.|^((0xacab|framagit)\.org|code\.(briarproject\.org|foxkit\.us|videolan\.org)|dev\.gajim\.org|forge\.tedomum\.net|git\.(alchemyviewer\.org|callpipe\.com|cardiff\.ac\.uk|cit\.bcit\.ca|coop|drk\.sc|drupalcode\.org|empiresmod\.com|feneas\.org|fosscommunity\.in|gnu\.io|happy-dev\.fr|immc\.ucl\.ac\.be|jami\.net|ligo\.org|linux-kernel\.at|najer\.info|nzoss\.org\.nz|oeru\.org|pleroma\.social|pwmt\.org|rockylinux\.org|silence\.dev|synz\.io)|gitgud\.io|gitplac\.si|invent\.kde\.org|lab\.libreho\.st|mau\.dev|mpeg\.expert|opencode\.net|repo\.getmonero\.org|salsa\.debian\.org|skylab\.vc\.h-brs\.de|source\.(joinmastodon\.org|puri\.sm|small-tech\.org))$";
const githost = new RegExp("^(gist\.)?github\.com$|" + glmask);
const gitlab = new RegExp(glmask);
const gitlabjs = new RegExp("^/assets/webpack/.+\.chunk\.js$");
diff --git a/make_glmask.js b/make_glmask.js
index 77e1e56..ab89666 100644
--- a/make_glmask.js
+++ b/make_glmask.js
@@ -6,6 +6,7 @@ var doms = [
'dev.gajim.org',
'forge.tedomum.net',
'framagit.org',
+ 'git.alchemyviewer.org',
'git.callpipe.com',
'git.cardiff.ac.uk',
'git.cit.bcit.ca',
@@ -26,6 +27,7 @@ var doms = [
'git.oeru.org',
'git.pleroma.social',
'git.pwmt.org',
+ 'git.rockylinux.org',
'git.silence.dev',
'git.synz.io',
'gitgud.io',