Guest User

Cactus Port JS

a guest
Jul 4th, 2025
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.29 KB | Source Code | 0 0
  1. <!DOCTYPE html>
  2. <!-- Ceci est un port en JS du screamer cactus original de PyjamaSam
  3.     Il utilise donc, une partie du code original.
  4.     screamer original : 0xad.net/cactus
  5. -->
  6. <html>
  7.     <head>
  8.         <title>CACAAACAAAA</title>
  9.         <meta charset="utf-8">
  10.         <script>
  11.  
  12.         </script>
  13.         <style type="text/css">
  14.             body
  15.             {
  16.                 margin: 0;
  17.                 padding: 0;
  18.                 background:url(https://0xad.net/cactus/cactus2.jpg) no-repeat black;
  19.                 -webkit-background-size: cover;
  20.                 -moz-background-size: cover;
  21.                 -o-background-size: cover;
  22.                 background-size: cover;
  23.             }
  24.             #nocursor
  25.             {
  26.                 cursor: none;
  27.                 top: 0;
  28.                 left: 0;
  29.                 width: 100%;
  30.                 height: 100%;
  31.                 position: fixed;
  32.             }
  33.         </style>
  34.     </head>
  35.     <body>
  36.         <div id="nocursor"></div>
  37.         <audio id="audio" src="https://jvflux.fr/images/b/ba/Cactus_screamer_musique.mp3" loop></audio>
  38.         <script>
  39.             //cimer chatgpt pour ce workaround eco+
  40.             document.body.addEventListener('click', () => {
  41.                 const audio = document.getElementById('audio');
  42.                 audio.play();
  43.             }, { once: true });
  44.            
  45.             document.body.addEventListener('dblclick', () => {
  46.                 if (!document.fullscreenElement) {
  47.                     document.documentElement.requestFullscreen().catch(err => {
  48.                         console.error(`CAAAACAAACAA`);
  49.                     });
  50.                 }
  51.             });
  52.         </script>
  53.     </body>
  54. </html>
Advertisement
Add Comment
Please, Sign In to add comment