您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Improves the HOT.dk editor
当前为
- // ==UserScript==
- // @name Better editor on HOT.dk
- // @description Improves the HOT.dk editor
- // @author Sebastian Paaske Tørholm
- // @include https://www.hot.dk/Message*
- // @include https://www.hot.dk/Profile*
- // @version 1.1
- // @namespace https://greasyfork.org/users/4769
- // ==/UserScript==
- setTimeout(function() {
- var s = document.createElement("script");
- s.innerHTML = "CKEDITOR.instances.text.destroy(); CKEDITOR.replace( 'text', { toolbar : [\
- ['Source'],\
- ['Cut','Copy','Paste','PasteText'],\
- ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],\
- '/',\
- ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],\
- ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],\
- ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],\
- ['Link'],\
- ['Image','Flash','Table','HorizontalRule','SpecialChar'],\
- '/',\
- ['Styles','Format','Font','FontSize'],\
- ['TextColor','BGColor'],\
- ['Maximize', 'ShowBlocks']\
- ] } )";
- document.body.appendChild(s);
- }, 1000);