Advertisement
DaRedJumper

Libit Devchat+ (tampermonkey)

Jan 28th, 2024 (edited)
1,076
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name         Libit Devchat+
  3. // @namespace    http://tampermonkey.net/
  4. // @version      2024-01-27
  5. // @description  try to take over the world!
  6. // @author       DaxCodes
  7. // @match        https://devchat.libit.xyz/*
  8. // @icon         https://www.google.com/s2/favicons?sz=64&domain=libit.xyz
  9. // @grant        none
  10. // ==/UserScript==
  11.  
  12. (function() {
  13.     'use strict';
  14.  
  15.     var newstyle = document.createElement("style")
  16.     newstyle.textContent = `
  17.     @keyframes rainbow{
  18.     0%{color: red;}
  19.     20%{color: orange;}
  20.     40%{color: yellow;}
  21.     60%{color: lime;}
  22.     80%{color: blue;}
  23.     90%{color: purple;}
  24.     100%{color: red;}
  25.     }
  26.     p{
  27.     animation-name: rainbow;
  28.     animation-duration: 3.5s;
  29.     animation-iteration-count: infinite;
  30.     }
  31.     `
  32.     document.head.appendChild(newstyle);
  33.     document.getElementById("message").style.backgroundColor = "#080808";
  34.     document.body.style.backgroundColor = "#161616";
  35.     var inputs = document.getElementsByTagName("input");
  36.     var images = document.getElementsByTagName("img");
  37.     var divs = document.getElementsByTagName("div");
  38.     for(var divsss = 0; divsss < divs.length; divsss++){
  39.         //do something to each image like
  40.         divs[divsss].style.backgroundColor = "#070707";
  41.     }
  42.     setTimeout(function(){
  43.         for(var iss = 0; iss < inputs.length; iss++){
  44.             //do something to each input like
  45.             if (inputs[iss].placeholder != "Message"){
  46.                 inputs[iss].remove()
  47.             }
  48.         }
  49.         for(var isss = 0; isss < images.length; isss++){
  50.             //do something to each image like
  51.             if (images[isss].src.includes("grabify.link")){
  52.                 images[isss].remove()
  53.             }
  54.         }
  55.     }, 450)
  56.    
  57. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement