Advertisement
Sweetening

1223.html

Dec 14th, 2024
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.16 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>We are here</title>
  7. <style>
  8. body {
  9. margin: 0;
  10. overflow: hidden;
  11. background-color: black;
  12. }
  13.  
  14. .deface-image {
  15. position: absolute;
  16. width: 50vw; /* Half of the screen width */
  17. height: auto; /* Maintain aspect ratio */
  18. animation: move 10s infinite linear;
  19. cursor: pointer;
  20. }
  21.  
  22. @keyframes move {
  23. 0% {
  24. top: 0;
  25. left: 0;
  26. }
  27. 25% {
  28. top: 0;
  29. left: 100%;
  30. transform: translateX(-100%);
  31. }
  32. 50% {
  33. top: 100%;
  34. left: 100%;
  35. transform: translateX(-100%) translateY(-100%);
  36. }
  37. 75% {
  38. top: 100%;
  39. left: 0;
  40. transform: translateY(-100%);
  41. }
  42. 100% {
  43. top: 0;
  44. left: 0;
  45. }
  46. }
  47. </style>
  48. </head>
  49. <body>
  50. <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()" />
  51.  
  52. <script>
  53. // Function to go to the video URL and make the page full screen
  54. function goToVideo() {
  55. window.location.href = "https://www.youtube.com/watch?v=sVo0_D1c39k";
  56. }
  57.  
  58. // Add event listener for the "Enter" key to go to the video
  59. window.addEventListener("keydown", function(event) {
  60. if (event.key === "Enter") {
  61. goToVideo();
  62. }
  63. });
  64.  
  65. // Make the page go full screen
  66. document.documentElement.requestFullscreen().catch(function(e) {
  67. console.log("Fullscreen error: " + e);
  68. });
  69. </script>
  70. </body>
  71. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement