Advertisement
Guest User

text wrapping problem

a guest
Mar 4th, 2025
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1. <span style="width: 80px; display: inline-block;"></span>• There is no strict format for presenting this information, but it must be readily accessible to the RPC for review. This can include in-game roleplay logs,
  2. written journals, or other documented evidence demonstrating the character’s <span class="obfuscated" id="text">no peeking</span></p>
  3. <script>
  4. document.addEventListener("DOMContentLoaded", function() {
  5. function obfuscateText() {
  6. const chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*()-=_+[]{}|;:'\",.<>/?`~";
  7. let target = document.getElementById("text");
  8. let originalText = target.textContent.split(""); // Use existing text
  9.  
  10. setInterval(() => {
  11. let scrambled = originalText.map(char =>
  12. char === " " ? " " : chars[Math.floor(Math.random() * chars.length)]
  13. ).join("");
  14. target.textContent = scrambled;
  15. }, 100); // Adjust speed here (lower = faster)
  16. }
  17.  
  18. output.innerHTML = obfuscateText(); // No hardcoded text, just scrambles what's already there
  19. });
  20. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement