Selecteur de couleur

Color Picker Iraz Modding

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         Selecteur de couleur
// @namespace    http://www.iraz.fr/*
// @version      1.1
// @description  Color Picker Iraz Modding
// @author       WeyZen
// @match        https://realitygaming.fr/*
// @grant        none
// ==/UserScript==
$('body').append('<script src="https://rawgit.com/maretdu93/Colora/master/jscolorazerty.js"></script>');

if(window.location.href.indexOf("draft") > -1){
    $('li.redactor_btn_container_fontfamily').after('<input class="jscolor {hash:true}{required:false}" onclick="$(this).select();" value="52B5EB" id="jscolorid" style="height:20px; width:59px;padding: inherit;font-size: 13px;">');
}
else {
    $('li.redactor_btn_container_fontfamily').after('<input class="jscolor {hash:true}{required:false}" onclick="$(this).select();" value="52B5EB" id="jscolorid" style="height:20px; width:59px;padding: inherit;">');
}

$(document).ready(function(){

        
       var   css = '.redactor_toolbar {font-style: normal;    font-size: 13px;    font-family: "Trebuchet MS",Verdana,Arial,Helvetica,sans-serif;    background: #f0f7fc url("styles/realitygaming/xenforo/gradients/form-button-white-25px.png") repeat-x top;    padding: 0 0 0 2px;    margin: 0;    border-bottom: 1px solid rgb(152,151,151);    border-bottom: 1px solid rgba(152,151,151,0.15);    _border-bottom: 1px solid rgb(152,151,151);    position: relative;    left: 0;    top: 0;    line-height: 0;    list-style: none;    overflow: hidden;}';
   
              

    $('head').append('<style>' + css + '</style>');
            });