Advertisement
Kelsondre69

Tampermonkey code where changes everything to kelsondre every second (PASTE INTO TAMPERMONKEY)

Mar 22nd, 2025
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.80 KB | None | 0 0
  1.  
  2. // ==UserScript==
  3. // @name Forever KELSONDRE
  4. // @namespace http://tampermonkey.net/
  5. // @version 1.0
  6. // @description Change all text to "KELSONDRE,!!!!" every second with a stop button.
  7. // @author Kelsondre
  8. // @match *://*/*
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14.  
  15. let intervalId;
  16.  
  17. // Function to replace text with "KELSONDRE,!!!!"
  18. function kelsondreEverything() {
  19. const allElements = document.querySelectorAll('*');
  20. allElements.forEach(el => {
  21. if (el.childNodes.length === 1 && el.childNodes[0].nodeType === 3) {
  22. el.childNodes[0].nodeValue = 'KELSONDRE,!!!!';
  23. }
  24. });
  25. }
  26.  
  27. // Start replacing text every second
  28. function startKelsondre() {
  29. intervalId = setInterval(kelsondreEverything, 1000);
  30. }
  31.  
  32. // Stop the madness
  33. function stopKelsondre() {
  34. clearInterval(intervalId);
  35. alert('KELSONDRE,!!!! has been stopped!');
  36. }
  37.  
  38. // Create a floating stop button
  39. function createStopButton() {
  40. const button = document.createElement('button');
  41. button.innerText = '🛑 Stop KELSONDRE';
  42. button.style.position = 'fixed';
  43. button.style.top = '10px';
  44. button.style.right = '10px';
  45. button.style.zIndex = '9999';
  46. button.style.padding = '10px 20px';
  47. button.style.backgroundColor = '#ff4d4d';
  48. button.style.color = '#fff';
  49. button.style.border = 'none';
  50. button.style.borderRadius = '5px';
  51. button.style.cursor = 'pointer';
  52. button.style.fontSize = '14px';
  53.  
  54. button.onclick = stopKelsondre;
  55. document.body.appendChild(button);
  56. }
  57.  
  58. // Initialize
  59. createStopButton();
  60. startKelsondre();
  61. })();
  62.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement