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(); + }); + });