Advertisement
Strudels

Void Essence Embigginator

Jun 27th, 2024 (edited)
486
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name         Void Essence Embigginator
  3. // @namespace    http://tampermonkey.net/
  4. // @version      0.1
  5. // @description  Makes Void Essence appear larger and moves them all to the middle of the map
  6. // @author       Rippy
  7. // @match        http*://*.neopets.com/*
  8. // @icon         https://www.google.com/s2/favicons?sz=64&domain=neopets.com
  9. // @grant        none
  10. // ==/UserScript==
  11.  
  12. (function() {
  13.     'use strict';
  14.     const observer = new MutationObserver(() => {
  15.         $("div[class^='tvw-essence vc-essence']")
  16.             .width("100px")
  17.             .height("100px")
  18.             .css({ position:"absolute", top: "50%", left: "50%", transform: "translate(-50%, -50%)"});
  19.     });
  20.     observer.observe(document.querySelector("#animation_container"), {childList: true});
  21. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement