add/change some stuff

This commit is contained in:
Dean @ Skool
2023-10-17 17:28:40 -04:00
parent d1c9796351
commit 7835da59ad
4 changed files with 65 additions and 0 deletions
+5
View File
@@ -1,4 +1,9 @@
[
{
"name": "Autoclicker",
"source": "/assets/misc/cheats/autoclicker.html",
"image": "https://upload.wikimedia.org/wikipedia/commons/a/a7/Cursor_icon_with_shadow.png"
},
{
"name": "Prodigy",
"source": "/assets/misc/cheats/prodigy.html",
+33
View File
@@ -52,6 +52,39 @@ if (location.pathname === '/') {
document.querySelector('.featuredimg').src = game.image;
}).catch(e => new PolarisError('Failed to load featured game.'));
}
// Define a variable to track whether the audio has been played
let audioPlayed = false;
// Function to play the audio
function playSmurfAudio() {
if (!audioPlayed) {
const audio = new Audio('/assets/misc/smurf.mp3');
audio.play();
audioPlayed = true;
}
}
// Event listener to check for the word "smurf"
document.addEventListener('keydown', (event) => {
if (event.key === 's' || event.key === 'm' || event.key === 'u' || event.key === 'r' || event.key === 'f') {
// Add the pressed key to a string and check if it matches "smurf"
if (event.key === 's') {
smurfString = 's';
} else {
smurfString += event.key;
}
if (smurfString === 'smurf') {
playSmurfAudio();
}
} else {
smurfString = ''; // Reset the string if a different key is pressed
}
});
// Variable to store the string as it's being typed
let smurfString = '';
const Polaris = { Settings, Games, Apps, Frame, PolarisError };
export default Polaris;
@@ -0,0 +1,27 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="/assets/css/main.css">
<title>404 Error | Polaris</title>
</head>
<body>
<div class="content box">
<h1 style="font-size: 50px;">Autoclicker</h1>
<p>To install the autoclicker, drag this button to your bookmark bar and click it when you're on the page you want to autoclick:</p>
<button><a href="javascript:var _0x57bdd8 = _0x2715; function _0x2715(_0x4073bd, _0x2f7b70) { var _0x5abfa9 = _0x5abf(); return _0x2715 = function (_0x27156f, _0x4bb0fa) { _0x27156f = _0x27156f - 0xcf; var _0x357e69 = _0x5abfa9[_0x27156f]; return _0x357e69; }, _0x2715(_0x4073bd, _0x2f7b70); } (function (_0x324a82, _0x405a3c) { var _0x406640 = _0x2715, _0x565c32 = _0x324a82(); while (!![]) { try { var _0x3f55fe = parseInt(_0x406640(0xd5)) / 0x1 + -parseInt(_0x406640(0xdf)) / 0x2 * (-parseInt(_0x406640(0xdb)) / 0x3) + -parseInt(_0x406640(0xcf)) / 0x4 * (parseInt(_0x406640(0xe3)) / 0x5) + -parseInt(_0x406640(0xd7)) / 0x6 + parseInt(_0x406640(0xd1)) / 0x7 * (-parseInt(_0x406640(0xe7)) / 0x8) + -parseInt(_0x406640(0xe5)) / 0x9 + parseInt(_0x406640(0xe8)) / 0xa * (parseInt(_0x406640(0xe6)) / 0xb); if (_0x3f55fe === _0x405a3c) break; else _0x565c32['push'](_0x565c32['shift']()); } catch (_0x1ac7c0) { _0x565c32['push'](_0x565c32['shift']()); } } }(_0x5abf, 0x2c5a7), alert(_0x57bdd8(0xe4))); var DELAY = 0x1, autoClickerStyleElement = document[_0x57bdd8(0xde)](_0x57bdd8(0xe1)); function _0x5abf() { var _0x6c063b = ['addEventListener', '4HqXdrz', 'click', '34531ekPPmZ', '*{cursor:\x20crosshair\x20!important;}', 'removeEventListener', 'remove', '307875VswMRn', 'isTrusted', '511806NQIvSD', 'body', 'auto-clicker-target', 'target', '3JHRKhV', 'add', 'classList', 'createElement', '583738txkOmY', 'removeChild', 'style', 'preventDefault', '1659695jPkxYA', 'Autoclicker\x20By\x20Skool.\x20Click\x20where\x20you\x20want\x20it\x20to\x20autoclick!', '2972988vhRjAd', '9603mnjImG', '216ZxBKDi', '5300LTogTz', 'appendChild']; _0x5abf = function () { return _0x6c063b; }; return _0x5abf(); } autoClickerStyleElement['innerHTML'] = _0x57bdd8(0xd2), document[_0x57bdd8(0xd8)][_0x57bdd8(0xe9)](autoClickerStyleElement); function addClicker(_0x5ee965) { var _0x5bd508 = _0x57bdd8; if (!_0x5ee965[_0x5bd508(0xd6)]) return; _0x5ee965[_0x5bd508(0xda)][_0x5bd508(0xdd)]['contains'](_0x5bd508(0xd9)) ?%20_0x5ee965[%27target%27][_0x5bd508(0xdd)][_0x5bd508(0xd4)](_0x5bd508(0xd9))%20:%20_0x5ee965[_0x5bd508(0xda)][_0x5bd508(0xdd)][_0x5bd508(0xdc)](_0x5bd508(0xd9)),%20document[_0x5bd508(0xd8)][_0x5bd508(0xe0)](autoClickerStyleElement),%20document[_0x5bd508(0xd8)][_0x5bd508(0xd3)](_0x5bd508(0xd0),%20addClicker),%20_0x5ee965[_0x5bd508(0xe2)](),%20autoClick(_0x5ee965[_0x5bd508(0xda)]);%20}%20function%20autoClick(_0x12f48d)%20{%20var%20_0x33162a%20=%20_0x57bdd8;%20_0x12f48d[_0x33162a(0xdd)][%27contains%27](%27auto-clicker-target%27)%20&&%20(_0x12f48d[%27click%27](),%20setTimeout(function%20()%20{%20autoClick(_0x12f48d);%20},%20DELAY));%20}%20document[_0x57bdd8(0xd8)][_0x57bdd8(0xea)](%27click%27,%20addClicker,%200x0);" id="cheatsBtn">
<btn class="recent">Skool Autoclicker</btn>
</a>
</button>
</div>
<script src="/assets/js/main.js" type="module"></script>
</body>
</html>
Binary file not shown.