mirror of
https://github.com/abrendan/MicDropMessages.git
synced 2025-06-16 12:45:01 +02:00
Built in a easter egg...
This commit is contained in:
parent
30f3ea974d
commit
83a6d186ea
@ -63,4 +63,14 @@ function delayReset(){
|
||||
|
||||
function toggleDarkMode() {
|
||||
document.body.classList.toggle('dark-mode');
|
||||
}
|
||||
}
|
||||
|
||||
document.addEventListener('keydown', function(event) {
|
||||
// Check if Alt + Ctrl + R are pressed together
|
||||
if (event.altKey && event.ctrlKey && event.key === 'r') {
|
||||
// Prevent the default action to avoid conflicts
|
||||
event.preventDefault();
|
||||
// Open the desired webpage in a new window/tab
|
||||
window.open('https://www.youtube.com/watch?v=dQw4w9WgXcQ');
|
||||
}
|
||||
});
|
Loading…
x
Reference in New Issue
Block a user