Files
Testing/client/htmlchat/extensions/egg/js/playegg.js
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -05:00

34 lines
1.0 KiB
JavaScript

(function(undefined)
{
function playEgg()
{
var le = document.getElementById("topcmm-123flashchat-warp-egg-id");
if (le != null)
{
le.parentNode.removeChild(le);
return;
}
var div = document.createElement('div');
div.style.position = "relative";
div.id = "topcmm-123flashchat-warp-egg-id";
div.style.zIndex= "101";
div.style.margin= "50px auto auto";
div.style.width = 520+"px";
div.style.height = 550+"px";
document.body.appendChild(div);
var iframe = document.createElement('iframe');
iframe.style.width = 520+"px";
iframe.style.height = 550+"px";
iframe.style.position = "relative";
iframe.style.zIndex= "101";
iframe.style.border= "none";
iframe.style.overflow= "hidden";
iframe.src = "extensions/egg/egg.html";/* your URL here */
div.appendChild(iframe);
}
setInterval(playEgg, 1000 * 60 * 15);
})();