From b7c0deef41afc3c0947c35e2b7d9b174f678771d Mon Sep 17 00:00:00 2001 From: amsam0 <44983869+amsam0@users.noreply.github.com> Date: Tue, 2 Sep 2025 17:19:05 -0700 Subject: [PATCH] Hide features section unless on the home page --- index.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 56400dd..c7d7eac 100644 --- a/index.html +++ b/index.html @@ -77,6 +77,10 @@ border: none; } + .features { + display: none; + } + /* =================== Input and buttons. ====================== */ @@ -241,6 +245,8 @@ if (params.has('v')) { const match = params.get('v').match(/(http:|https:)?(\/\/)?(www\.)?(youtube.com|youtu.be)\/(watch|embed)?(\?v=|\/)?([\w-]+)/); if (match && match[7]) purify(match[7]); + } else { + document.querySelector('.features').style.display = 'block'; } } @@ -278,7 +284,7 @@
This app offers a clean and minimalistic interface for a distraction-free experience.
Teachers, students, parents, and organizers can use our app to remove ads, comments, and distracting sidebar videos.