CS_WH Editor

Change The Character Sheet's Width and Height

当前为 2014-09-01 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         CS_WH Editor
// @namespace    http://devs.forumvi.com/
// @version      0.9
// @description  Change The Character Sheet's Width and Height
// @copyright    2014+, NCat
// @icon         http://png-4.findicons.com/files/icons/2776/android_icons/48/ic_size_up.png
// @include      http://*/admin/index.forum*
// @include      *part=modules*
// @include      *sub=roleplay*
// @include      *mode=management*
// @include      *mod=edit*
// @match        http://*/admin/index.forum*
// @match        *part=modules*
// @match        *sub=roleplay*
// @match        *mode=management*
// @match        *mod=edit*
// @require      http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
// @run-at       document-end
// @grant        none
// ==/UserScript==

$(".forumline .post:not([name='avatarurl'])").replaceWith(function(){
   return '<textarea class="post" name="' + this.name + '" style="with:98%;height:200px">' + this.value + '</textarea>';
});