Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Void Essence Embigginator
- // @namespace http://tampermonkey.net/
- // @version 0.1
- // @description Makes Void Essence appear larger and moves them all to the middle of the map
- // @author Rippy
- // @match http*://*.neopets.com/*
- // @icon https://www.google.com/s2/favicons?sz=64&domain=neopets.com
- // @grant none
- // ==/UserScript==
- (function() {
- 'use strict';
- const observer = new MutationObserver(() => {
- $("div[class^='tvw-essence vc-essence']")
- .width("100px")
- .height("100px")
- .css({ position:"absolute", top: "50%", left: "50%", transform: "translate(-50%, -50%)"});
- });
- observer.observe(document.querySelector("#animation_container"), {childList: true});
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement