forked from sent/waves
idk
This commit is contained in:
parent
7b3737d44c
commit
4658e475ef
103
public/$.html
103
public/$.html
|
@ -15,7 +15,10 @@
|
||||||
<link rel="stylesheet" href="/assets/css/toast.css">
|
<link rel="stylesheet" href="/assets/css/toast.css">
|
||||||
<link rel="stylesheet" href="/assets/css/nprogress.css">
|
<link rel="stylesheet" href="/assets/css/nprogress.css">
|
||||||
<link href="https://cdn.jsdelivr.net/gh/aquawolf04/font-awesome-pro@5cd1511/css/all.css" rel="stylesheet">
|
<link href="https://cdn.jsdelivr.net/gh/aquawolf04/font-awesome-pro@5cd1511/css/all.css" rel="stylesheet">
|
||||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-WGJ2192JZY"></script><script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-WGJ2192JZY');</script>
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-WGJ2192JZY"></script>
|
||||||
|
<script>
|
||||||
|
window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);}gtag('js',new Date());gtag('config','G-WGJ2192JZY');
|
||||||
|
</script>
|
||||||
<script type="text/javascript" src="//pl26200262.effectiveratecpm.com/f0/e8/15/f0e81559842363ebf19aa99900ff2d02.js"></script>
|
<script type="text/javascript" src="//pl26200262.effectiveratecpm.com/f0/e8/15/f0e81559842363ebf19aa99900ff2d02.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -50,7 +53,7 @@
|
||||||
<a href="#" id="movies">Movies</a>
|
<a href="#" id="movies">Movies</a>
|
||||||
<a href="#" id="ai">AI</a>
|
<a href="#" id="ai">AI</a>
|
||||||
<a href="#" id="settings-icon">
|
<a href="#" id="settings-icon">
|
||||||
<i id="settings-icon" class="settings-icon fa-regular fa-gear"></i>
|
<i class="settings-icon fa-regular fa-gear"></i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -104,20 +107,90 @@
|
||||||
<iframe id="cool-iframe" class="iframe"></iframe>
|
<iframe id="cool-iframe" class="iframe"></iframe>
|
||||||
|
|
||||||
<div id="lastest-commit">Loading latest commit</div>
|
<div id="lastest-commit">Loading latest commit</div>
|
||||||
<div id="copyright"><i class="fa-regular fa-copyright"></i> 2025 <a class="hover-link" href="https://discord.gg/ire" target="_blank" rel="noopener noreferrer"><span class="copyrightname">Waves Services</span></a>. All Rights Reserved.</div>
|
<div id="copyright">
|
||||||
<div id="discord"><a class="hover-link" href="https://discord.gg/ire" target="_blank" rel="noopener noreferrer"><i class="fa-brands fa-discord"></i> Discord</div>
|
<i class="fa-regular fa-copyright"></i> 2025
|
||||||
<div id="github"><a class="hover-link" href="https://github.com/xojw/waves" target="_blank" rel="noopener noreferrer"><i class="fa-brands fa-github"></i> Github</div>
|
<a class="hover-link" href="https://discord.gg/ire" target="_blank" rel="noopener noreferrer">
|
||||||
|
<span class="copyrightname">Waves Services</span>
|
||||||
|
</a>. All Rights Reserved.
|
||||||
|
</div>
|
||||||
|
<div id="discord">
|
||||||
|
<a class="hover-link" href="https://discord.gg/ire" target="_blank" rel="noopener noreferrer">
|
||||||
|
<i class="fa-brands fa-discord"></i> Discord
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div id="github">
|
||||||
|
<a class="hover-link" href="https://github.com/xojw/waves" target="_blank" rel="noopener noreferrer">
|
||||||
|
<i class="fa-brands fa-github"></i> Github
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
(function() {
|
||||||
|
const protocol = location.protocol === "https:" ? "wss:" : "ws:";
|
||||||
|
const ws = new WebSocket(protocol + "//" + location.host + "/w/global");
|
||||||
|
ws.addEventListener("message", event => {
|
||||||
|
try {
|
||||||
|
let { message } = JSON.parse(event.data);
|
||||||
|
message = message;
|
||||||
|
|
||||||
|
const container = document.createElement("div");
|
||||||
|
container.style.position = "fixed";
|
||||||
|
container.style.top = "0";
|
||||||
|
container.style.left = "0";
|
||||||
|
container.style.width = "100%";
|
||||||
|
container.style.height = "100%";
|
||||||
|
container.style.background = "rgba(0, 0, 0, 0.8)";
|
||||||
|
container.style.display = "flex";
|
||||||
|
container.style.flexDirection = "column";
|
||||||
|
container.style.alignItems = "center";
|
||||||
|
container.style.justifyContent = "center";
|
||||||
|
container.style.color = "#fff";
|
||||||
|
container.style.zIndex = "10000";
|
||||||
|
|
||||||
|
const msgText = document.createElement("div");
|
||||||
|
msgText.style.fontSize = "3rem";
|
||||||
|
msgText.style.fontWeight = "bold";
|
||||||
|
msgText.style.marginTop = "-100px";
|
||||||
|
msgText.textContent = message;
|
||||||
|
|
||||||
|
const countdown = document.createElement("div");
|
||||||
|
countdown.style.fontSize = "2rem";
|
||||||
|
countdown.style.fontFamily = "'Comic Sans MS', 'Comic Sans', cursive";
|
||||||
|
countdown.style.marginTop = "10px"
|
||||||
|
let remaining = 5;
|
||||||
|
countdown.textContent = `Disappearing in ${remaining}...`;
|
||||||
|
|
||||||
|
container.appendChild(msgText);
|
||||||
|
container.appendChild(countdown);
|
||||||
|
document.body.appendChild(container);
|
||||||
|
|
||||||
|
const interval = setInterval(() => {
|
||||||
|
remaining--;
|
||||||
|
if (remaining >= 0) {
|
||||||
|
countdown.textContent = `Disappearing in ${remaining}...`;
|
||||||
|
} else {
|
||||||
|
clearInterval(interval);
|
||||||
|
container.style.transition = "opacity 1s ease-in-out";
|
||||||
|
container.style.opacity = "0";
|
||||||
|
container.addEventListener("transitionend", () => {
|
||||||
|
container.remove();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
|
||||||
|
} catch (err) {
|
||||||
|
console.error("Failed to parse WS data:", err);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
ws.addEventListener("error", err => {
|
||||||
|
console.error("WebSocket error:", err);
|
||||||
|
});
|
||||||
|
ws.addEventListener("close", () => {
|
||||||
|
setTimeout(() => location.reload(), 2000);
|
||||||
|
});
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
|
|
||||||
<script type="text/javascript" src="//pl26200346.effectiveratecpm.com/08/db/84/08db842da9b43ad3d13c14634f9fd1c8.js"></script>
|
<script type="text/javascript" src="//pl26200346.effectiveratecpm.com/08/db/84/08db842da9b43ad3d13c14634f9fd1c8.js"></script>
|
||||||
<script type="text/javascript">
|
|
||||||
atOptions = {
|
|
||||||
'key' : '26bce7e7832b24b139944832990cf69d',
|
|
||||||
'format' : 'iframe',
|
|
||||||
'height' : 300,
|
|
||||||
'width' : 160,
|
|
||||||
'params' : {}
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
<script type="text/javascript" src="//spaniardinformationbookworm.com/26bce7e7832b24b139944832990cf69d/invoke.js"></script>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue
Block a user