您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Expand Chatwork box description
当前为
// ==UserScript== // @name Expand Chatwork box description. // @namespace Chatwork // @icon https://appdata.chatwork.com/avatar/1311/1311129.png // @run-at document-start // @match *://www.chatwork.com/* // @grant none // @version 0.0.1.20201011135104 // @description Expand Chatwork box description // ==/UserScript== document.addEventListener("DOMContentLoaded", function(event) { setTimeout(function () { $(function () { $('.roomDescription__body').click(function () { $('.descriptionContents_overflow').height('100%'); }); $('.roomInformationContent').css('padding-right', '0 !important') .css('width', '100% !important'); $('#_RoomDescriptionArea').on('mouseout mousemove', function () { $('_subContentArea').css('overflow-y', 'scroll'); $('#_subContentArea').css('overflow-y', 'scroll'); $('.roomDescription__description').css('padding-right', '0 !important'); $('#_subContentArea').css('padding-right', '0 !important').css('width', '100% !important'); }); $('#_RoomDescriptionArea').on('hover', function () { $('#_subContentArea').css('padding-right', '0 !important'); $(this).css('padding-right', '0 !important'); }); }); }, 5000); });