diff --git a/js/index.js b/js/index.js
index 6f62fa3..671e20c 100644
--- a/js/index.js
+++ b/js/index.js
@@ -217,6 +217,15 @@ function isMobileDevice() {
return /Mobi|Android/i.test(navigator.userAgent);
}
-if (isMobileDevice()) {
- console.log("You are on a mobile device.");
-}
\ No newline at end of file
+window.addEventListener('DOMContentLoaded', (event) => {
+ if (isMobileDevice()) {
+ const body = document.body;
+ const downloadApp = document.getElementById('download');
+ // Apply hidden to all children of body except the downloadApp element
+ body.childNodes.forEach((child) => {
+ if (child.nodeType === 1 && child !== downloadApp) { // Check if the child is an element node
+ child.style.display = 'none';
+ }
+ });
+ }
+});
\ No newline at end of file