Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>We are here</title>
- <style>
- body {
- margin: 0;
- overflow: hidden;
- background-color: black;
- }
- .deface-image {
- position: absolute;
- width: 50vw; /* Half of the screen width */
- height: auto; /* Maintain aspect ratio */
- animation: move 10s infinite linear;
- cursor: pointer;
- }
- @keyframes move {
- 0% {
- top: 0;
- left: 0;
- }
- 25% {
- top: 0;
- left: 100%;
- transform: translateX(-100%);
- }
- 50% {
- top: 100%;
- left: 100%;
- transform: translateX(-100%) translateY(-100%);
- }
- 75% {
- top: 100%;
- left: 0;
- transform: translateY(-100%);
- }
- 100% {
- top: 0;
- left: 0;
- }
- }
- </style>
- </head>
- <body>
- <img class="deface-image" src="https://cdn.discordapp.com/attachments/987889515773452308/1317491349989232670/image_fx__-_2024-12-12T050912.690-removebg-preview.png?ex=675ee0ef&is=675d8f6f&hm=4ea71daded8689c7122f1472ee781cdfcdc3d8701ed7f0b04472a84c3e8587c3" alt="Hacker Deface" onclick="goToVideo()" />
- <script>
- // Function to go to the video URL and make the page full screen
- function goToVideo() {
- window.location.href = "https://www.youtube.com/watch?v=sVo0_D1c39k";
- }
- // Add event listener for the "Enter" key to go to the video
- window.addEventListener("keydown", function(event) {
- if (event.key === "Enter") {
- goToVideo();
- }
- });
- // Make the page go full screen
- document.documentElement.requestFullscreen().catch(function(e) {
- console.log("Fullscreen error: " + e);
- });
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement