您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
It just makes the inventory element wider and taller
- // ==UserScript==
- // @name Gaia Avatar Inventory size increaser
- // @namespace http://tampermonkey.net/
- // @version 2024-02-23
- // @description It just makes the inventory element wider and taller
- // @author Taggy
- // @match https://www.gaiaonline.com/avatar/
- // @icon https://www.google.com/s2/favicons?sz=64&domain=gaiaonline.com
- // @grant none
- // ==/UserScript==
- (function() {
- 'use strict';
- function addGlobalStyle(css) {
- var head, style;
- head = document.getElementsByTagName('head')[0];
- if (!head) { return; }
- style = document.createElement('style');
- style.innerHTML = css;
- head.appendChild(style);
- }
- addGlobalStyle(`
- #gaia_content #bd {
- width: 100% !important;
- }
- #grid_ad_2 {
- visibility: collapse;
- }
- #gaia_content #center {
- width: 74%;
- margin: 0 5px 0 0;
- }
- #gaia_content #center .yui-content {
- max-height: 500px;
- }
- `)
- })();