您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
I was bored. Changes the chat width to a value set by you.
- // ==UserScript==
- // @name TF2R Chat Width
- // @namespace no
- // @description I was bored. Changes the chat width to a value set by you.
- // @include http://tf2r.com/chat.html
- // @version 1
- // @grant none
- // ==/UserScript==
- $(document).ready(function(){
- resChat = 1150;
- $("#wrapper").css('width', resChat);
- $("#nav_holder").css('width', resChat);
- $("#content").css('width', resChat - 10);
- $("#feedtext").css('width', resChat - 130);
- // This one is not really necessary, but the chatbox cuts a bit of my text
- $("#feedtext").css('height', 16);
- $(".indent table").css('width', resChat - 35);
- })