-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathcore.js
46 lines (41 loc) · 1.55 KB
/
core.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// Envy Correr custom core
// (c) OwnedByWuigi 2024
console.log(
"%cBoo!\n%cIf someone told you to copypaste something here, there's a 11/10 chance you don't know what you're doing. \n \nPasting any code into this console can expose your private account information and/or files to external sources. Use this console at your own risk.%c\n\nIn the rare case that you %cdo %cknow what you're doing, please contribute to this project kthxbye :3 \n\nhttps://github.com/envyjs/os",
"color: magenta;font-size: 78px",
"color: auto;font-size: large;",
"color: auto;font-size:1.2rem",
"color: auto;font-style:italic;font-size:1.2rem",
"color: auto;font-size:1.2rem"
);
const SysInfo = {
string: "Envy 10 2025 Update",
version: "10.0.1954",
extra: "Release",
codename: "Coral"
};
console.log(SysInfo.string, SysInfo.version, SysInfo.extra);
function loadScript(url, callback) {
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = url;
script.onload = function() {
console.log(`[CORE] Successfuly loaded ${url}`);
if (callback) {
callback();
}
};
script.onerror = function() {
console.error(`[CORE] Error loading ${url}`);
};
document.head.appendChild(script);
}
let hasClicked = false;
document.addEventListener("click", (e) => {
if (!hasClicked) {
hasClicked = true;
document.querySelector("audio").play();
}
}); //startup funnies
console.log("[CORE] Core loaded");
loadScript('./UI/lock.js');