From 50c87a7b4d211e0c4b2754d8238f2823a44f21b5 Mon Sep 17 00:00:00 2001 From: goodtube4u Date: Thu, 12 Jun 2025 21:05:19 +1000 Subject: [PATCH] Test --- goodtube-test.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/goodtube-test.js b/goodtube-test.js index 9cfbe96..5cac30b 100644 --- a/goodtube-test.js +++ b/goodtube-test.js @@ -2465,6 +2465,17 @@ // Change the background colour document.body.style.background = '#000000'; + // Add an overlay just in case + let overlay = document.createElement('div'); + document.body.appendChild(overlay); + overlay.style.position = 'fixed'; + youtubeIframe.style.top = '0'; + youtubeIframe.style.bottom = '0'; + youtubeIframe.style.right = '0'; + youtubeIframe.style.left = '0'; + youtubeIframe.style.zIndex = '99998'; + + // Create a youtube iframe let youtubeIframe = document.createElement('div');