Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
kai9987kai authored Nov 17, 2023
1 parent e5bff93 commit d347a7b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@
cursor: move;
}
</style>
<script>
document.addEventListener('keydown', function(event) {
// Checking if 'Ctrl' and 'M' are pressed together
if (event.ctrlKey && event.key === 'm') {
// Redirecting to the mailto link
window.location.href = 'mailto:kai9987kai@gmail.com';
}
});
</script>
</head>
<body>

Expand Down

0 comments on commit d347a7b

Please sign in to comment.