Created
October 25, 2022 14:09
-
-
Save edo0xff/5a358a710423cf6aa0be9fea720ec4ae to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.head.innerHTML = `<style>* { | |
margin: 0; | |
padding: 0; | |
} | |
.hacked { | |
background: black; | |
color: lime; | |
height: 100vh; | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
text-align: center; | |
font-size: 3rem; | |
}</style>`; | |
document.body.innerHTML = ` | |
<div class="hacked"> | |
<h1>Hacked By edo0xff</h1> | |
</div> | |
`; | |
window.addEventListener('click', e => alert('You have been hacked :(')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment