Skip to content

Commit fe3c188

Browse files
committed
fix comment
1 parent 535b6de commit fe3c188

1 file changed

Lines changed: 28 additions & 26 deletions

File tree

.upptimerc.yml

Lines changed: 28 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ workflowSchedule:
1212
updateTemplate: "0 0 * * *"
1313
updates: "0 3 * * *"
1414
uptime: "*/20 * * * *"
15-
15+
1616
sites:
1717
- name: Company Website
1818
url: https://doubleextortion.com
@@ -52,29 +52,31 @@ status-website:
5252
- title: Website
5353
href: https://digintlab.com/
5454
js: |
55-
window.addEventListener("load", () => {
56-
const kill = () => {
57-
// 1) Remove incident sections by heading text
58-
document.querySelectorAll("section").forEach((s) => {
59-
const h = s.querySelector("h2,h3");
60-
const t = (h?.textContent || "").toLowerCase();
61-
if (t.includes("active incidents") || t.includes("past incidents")) s.remove();
62-
});
63-
64-
// 2) Hide any nav links/tabs that include "Incidents"
65-
document.querySelectorAll("a,button").forEach((el) => {
66-
const t = (el.textContent || "").toLowerCase();
67-
if (t.includes("incidents")) el.style.display = "none";
68-
});
69-
70-
// 3) Remove the Upptime footer branding
71-
document.querySelectorAll("footer").forEach((f) => {
72-
const t = (f.textContent || "").toLowerCase();
73-
if (t.includes("upptime") || t.includes("powered by")) f.remove();
74-
});
75-
};
76-
77-
kill();
78-
setInterval(kill, 1000); // keep it hidden after re-renders
79-
});# Upptime also supports notifications, assigning issues, and more
55+
window.addEventListener("load", () => {
56+
const kill = () => {
57+
// 1) Remove incident sections by heading text
58+
document.querySelectorAll("section").forEach((s) => {
59+
const h = s.querySelector("h2,h3");
60+
const t = (h?.textContent || "").toLowerCase();
61+
if (t.includes("active incidents") || t.includes("past incidents")) s.remove();
62+
});
63+
64+
// 2) Hide any nav links/tabs that include "Incidents"
65+
document.querySelectorAll("a,button").forEach((el) => {
66+
const t = (el.textContent || "").toLowerCase();
67+
if (t.includes("incidents")) el.style.display = "none";
68+
});
69+
70+
// 3) Remove the Upptime footer branding
71+
document.querySelectorAll("footer").forEach((f) => {
72+
const t = (f.textContent || "").toLowerCase();
73+
if (t.includes("upptime") || t.includes("powered by")) f.remove();
74+
});
75+
};
76+
77+
kill();
78+
setInterval(kill, 1000); // keep it hidden after re-renders
79+
});
80+
81+
# Upptime also supports notifications, assigning issues, and more
8082
# See https://upptime.js.org/docs/configuration

0 commit comments

Comments
 (0)