@@ -51,24 +51,29 @@ status-website:
5151 - title : Website
5252 href : https://digintlab.com/
5353 js : |
54- window.addEventListener("load", () => {
55- const kill = () => {
56- // Remove sections by heading text
57- document.querySelectorAll("section").forEach((s) => {
58- const h = s.querySelector("h2,h3");
59- const t = (h?.textContent || "").toLowerCase();
60- if (t.includes("active incidents") || t.includes("past incidents")) s.remove();
61- });
62-
63- // Also hide any nav links/tabs that include "Incidents"
64- document.querySelectorAll("a,button").forEach((el) => {
65- const t = (el.textContent || "").toLowerCase();
66- if (t.includes("incidents")) el.style.display = "none";
67- });
68- };
69-
70- kill();
71- setInterval(kill, 1000); // keeps it hidden after re-renders
72- });
73- # Upptime also supports notifications, assigning issues, and more
54+ window.addEventListener("load", () => {
55+ const kill = () => {
56+ // 1) Remove incident sections by heading text
57+ document.querySelectorAll("section").forEach((s) => {
58+ const h = s.querySelector("h2,h3");
59+ const t = (h?.textContent || "").toLowerCase();
60+ if (t.includes("active incidents") || t.includes("past incidents")) s.remove();
61+ });
62+
63+ // 2) Hide any nav links/tabs that include "Incidents"
64+ document.querySelectorAll("a,button").forEach((el) => {
65+ const t = (el.textContent || "").toLowerCase();
66+ if (t.includes("incidents")) el.style.display = "none";
67+ });
68+
69+ // 3) Remove the Upptime footer branding
70+ document.querySelectorAll("footer").forEach((f) => {
71+ const t = (f.textContent || "").toLowerCase();
72+ if (t.includes("upptime") || t.includes("powered by")) f.remove();
73+ });
74+ };
75+
76+ kill();
77+ setInterval(kill, 1000); // keep it hidden after re-renders
78+ });# Upptime also supports notifications, assigning issues, and more
7479# See https://upptime.js.org/docs/configuration
0 commit comments