The official discord link if you wish to join the discord: https://discord.gg/j5RKwCvAFu

Support the wiki on our official Ko-Fi page or Patreon page!

User:GiverOfThePeace/Sandbox Test

From The Codex
Revision as of 01:12, 13 September 2024 by GiverOfThePeace (talk | contribs) (Created page with "<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>SCP-XXXX: The Spam Infector</title> <style> body { font-family: Arial, sans-serif; max-width: 800px; margin: 0 auto; padding: 20px; line-height: 1.6; } .swap-text { display: inline-block; } .spam { color: red; background-color: yellow; font-weig...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<!DOCTYPE html> <html lang="en"> <head>

   <meta charset="UTF-8">
   <title>SCP-XXXX: The Spam Infector</title>
   <style>
       body {
           font-family: Arial, sans-serif;
           max-width: 800px;
           margin: 0 auto;
           padding: 20px;
           line-height: 1.6;
       }
       .swap-text {
           display: inline-block;
       }
       .spam {
           color: red;
           background-color: yellow;
           font-weight: bold;
       }
   </style>

</head> <body>

Item #: SCP-XXXX

Object Class: Euclid

Special Containment Procedures:

SCP-XXXX is to be contained in a standard humanoid containment cell at Site-19. The cell must be equipped with a Faraday cage to prevent unauthorized wireless transmissions. Personnel interacting with SCP-XXXX must undergo weekly psychological evaluations to monitor for cognitive contamination.

   <footer>

Note: This document may contain trace amounts of cognitohazardous material. Personnel experiencing sudden urges to click on non-existent hyperlinks or purchase unnecessary products should report to Medical immediately.

   </footer>
   <script>
       const swapElements = document.querySelectorAll('.swap-text');
       function swapText() {
           swapElements.forEach(el => {
               if (!el.classList.contains('spam') && Math.random() < 0.1) { // 10% chance to swap if not already spam
                   const originalText = el.textContent;
                   const spamText = el.getAttribute('data-spam');
                   el.textContent = spamText;
                   el.classList.add('spam');
                   setTimeout(() => {
                       el.textContent = originalText;
                       el.classList.remove('spam');
                   }, 500);
               }
           });
       }
       setInterval(swapText, 500); // Check for swaps every 500ms
   </script>

</body> </html>