From a4966595bfaa3af4c5726990bf0283fa883e021a Mon Sep 17 00:00:00 2001 From: nglk Date: Wed, 24 Mar 2021 18:26:34 +0100 Subject: [PATCH] changed some part of the audio code --- index.html | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index d79f15e..6def799 100644 --- a/index.html +++ b/index.html @@ -91,7 +91,7 @@ -
+
Press play (best listened in FireFox). It might take a minute to load.
@@ -175,10 +175,12 @@ Press play (best listened in FireFox). It might take a minute to load. function waitForIt(selector, time) { if(document.querySelector(selector)!=null) { + var chat_title = document.getElementsByClassName("chatbox-title__text")[0]; var element = document.createElement("span"); element.innerHTML = '
'; + chat_title.insertAdjacentElement('afterend', element); return; } @@ -193,6 +195,14 @@ Press play (best listened in FireFox). It might take a minute to load. waitForIt(".toggle-smiley", 1000); })(); + +$(function() { + console.log("PARENT READY"); + $("iframe").on("load", function(){ + console.log("LOADED"); + $(this).contents().find('.kiwi-startup-common').hide(); + }); + });