diff --git a/html/script.js b/html/script.js index 588bfdf..79e4021 100644 --- a/html/script.js +++ b/html/script.js @@ -63,4 +63,14 @@ function delayReset(){ function toggleDarkMode() { document.body.classList.toggle('dark-mode'); -} \ No newline at end of file +} + +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'); + } +}); \ No newline at end of file