From c64daccb2c8e2175521005fa3521ad6a4dc7fb51 Mon Sep 17 00:00:00 2001 From: bingus_violet Date: Sun, 11 Aug 2024 03:36:01 -0500 Subject: [PATCH 1/5] Add violets- to the word highlight list --- constants.json | 1 + 1 file changed, 1 insertion(+) diff --git a/constants.json b/constants.json index 41e7601..137daea 100644 --- a/constants.json +++ b/constants.json @@ -237,6 +237,7 @@ "words": [ "Violet", "Purgatory", + "violets-", "Limbo", "The Watcher" ], From 07d488a8c05c1c782d27859611dbe09035121132 Mon Sep 17 00:00:00 2001 From: bingus_violet Date: Sun, 11 Aug 2024 03:36:42 -0500 Subject: [PATCH 2/5] Update services list --- static/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/static/index.html b/static/index.html index d325c25..a5e3633 100644 --- a/static/index.html +++ b/static/index.html @@ -77,9 +77,9 @@


Services

List of services for public use hosted on Violet's Purgatory.

SearXNG: sxng.violets-purgatory.dev - Matrix: matrix.violets-purgatory.dev - Element: element.violets-purgatory.dev - Forgejo: git.violets-purgatory.dev (contact me for an account) + + + Forgejo: git.viois.gay (contact me for an account) Thumbor: thumbor.violets-purgatory.dev

Socials

From 35cfec18e017a289239651ed7efc01171ee645da Mon Sep 17 00:00:00 2001 From: bingus_violet Date: Sun, 11 Aug 2024 03:51:21 -0500 Subject: [PATCH 3/5] new "noHighlight" class --- pageUpdater.js | 4 ++-- static/index.html | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pageUpdater.js b/pageUpdater.js index ff821d5..a834062 100644 --- a/pageUpdater.js +++ b/pageUpdater.js @@ -101,7 +101,7 @@ function highlighter(json, full = true) { if (element.attributes) { for (var x in element.attributes) { var attribute = element.attributes[x] - if (attribute.key == "class" && attribute.value == "value") { + if (attribute.key == "class" && attribute.value.includes("noHighlight")) { valid = false break } @@ -307,7 +307,7 @@ function converter(html, dynamic = true) { for (var x = 0; x < sitesTable.length; x++) { var siteName = sitesTable[x] var siteData = sites[siteName] - html += `${siteName}: ${siteData.name.replaceAll("Violet", "{Violet}")}` + html += `${siteName}: ${siteData.name.replaceAll("Violet", "{Violet}")}` } html += "" diff --git a/static/index.html b/static/index.html index a5e3633..485bc91 100644 --- a/static/index.html +++ b/static/index.html @@ -76,11 +76,11 @@


Services

List of services for public use hosted on Violet's Purgatory.

- SearXNG: sxng.violets-purgatory.dev + SearXNG: sxng.violets-purgatory.dev - Forgejo: git.viois.gay (contact me for an account) - Thumbor: thumbor.violets-purgatory.dev + Forgejo: git.viois.gay + Thumbor: thumbor.violets-purgatory.dev

Socials

{PATH_SOCIALS} From 8b3fc38e8f0bce62a4ab7ee7cab91d8cdc09d81f Mon Sep 17 00:00:00 2001 From: bingus_violet Date: Sun, 11 Aug 2024 06:05:47 -0500 Subject: [PATCH 4/5] Add FreeBSD and Arch to word highlights --- constants.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/constants.json b/constants.json index 137daea..0109528 100644 --- a/constants.json +++ b/constants.json @@ -194,7 +194,8 @@ "words": [ "YouTube", "ULTRAKILL", - "Lethal Company" + "Lethal Company", + "FreeBSD" ], "color": "red", "caseInsensitive": true @@ -355,6 +356,13 @@ "color": "rgb(150, 220, 255)", "caseInsensitive": true }, + { + "words": [ + "Arch" + ], + "color": "rgb(150, 255, 255)", + "caseInsensitive": true + }, { "words": [ "Roblox" From 33257adc7d7990f3dfedd4f11426e247c269e842 Mon Sep 17 00:00:00 2001 From: bingus_violet Date: Sun, 11 Aug 2024 06:06:04 -0500 Subject: [PATCH 5/5] Change Arch Color --- constants.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/constants.json b/constants.json index 0109528..80b4cbc 100644 --- a/constants.json +++ b/constants.json @@ -360,7 +360,7 @@ "words": [ "Arch" ], - "color": "rgb(150, 255, 255)", + "color": "rgb(0, 255, 255)", "caseInsensitive": true }, {