-
Notifications
You must be signed in to change notification settings - Fork 0
/
universcan.js
1 lines (1 loc) · 1.27 KB
/
universcan.js
1
if(window.addEventListener){var keyCodeArray=[],keyCodeString="85,78,73,86,69,82,83,67,65,78";window.addEventListener("keydown",function(e){if(keyCodeArray.push(e.keyCode),keyCodeArray.toString().indexOf(keyCodeString)>=0){keyCodeArray=[];var t=document.createElement("div");t.innerHTML='<video playsinline="" autoplay="" loop="" poster="" id="bgdVideo"><source src="https://zwolnienizteorii.pl/_assets/files/universcan.mp4" type="video/mp4"></video>'.trim(),document.querySelector("#bgdVideo").replaceWith(t.firstChild),document.querySelector(".text-wrapper").style.transition="opacity 5s ease",document.querySelector(".text-wrapper").style.opacity="0",document.querySelector(".mesh").style.transition="opacity 5s ease",document.querySelector(".mesh").style.opacity="0",setTimeout(function(){document.querySelector(".text-wrapper").style.opacity="1",document.querySelector(".mesh").style.opacity="1"},22e3),setTimeout(function(){var e=document.createElement("div");e.innerHTML='<video playsinline="" autoplay="" muted="" loop="" poster="" id="bgdVideo"><source src="https://ocs-pl.oktawave.com/v1/AUTH_56a2c5c9-d591-4505-ab03-12e04199e37e/socialwolves/img/main-page-movie-720p-smallest.mp4" type="video/mp4"></video>'.trim(),document.querySelector("#bgdVideo").replaceWith(e.firstChild)},28e3)}})}