Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Trading Post Name Embigginator
- // @namespace http://tampermonkey.net/
- // @version 2025-12-09
- // @description make tp lot owner names bigger
- // @author Rippy
- // @match http*://*.neopets.com/island/tradingpost.phtml*
- // @icon https://www.google.com/s2/favicons?sz=64&domain=neopets.com
- // @grant none
- // ==/UserScript==
- (function() {
- 'use strict';
- const observer = new MutationObserver(() => {
- $(".tp-main-content a[href*='userlookup.phtml?user=']").each(function (i, e) {
- $(e).css({ "font-size": "20px" });
- if (e.textContent.includes("owned by ")) {
- e.textContent = e.textContent.replace("owned ", ""); // cut some text so that larger font is less likely to push other elements out of the box if their username is really long
- }
- });
- });
- observer.observe(document, { childList: true, subtree: true });
- })();
Advertisement
Add Comment
Please, Sign In to add comment