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}