crowy 背景色変更

  • /*
     * @title crowy 背景色変更
     * @description crowy の背景色をcrowyっぽく変更します。 #crowy
     * @include http://www.crowy.net*
     * @license MIT License
     * @require 
     */
    
    (function(){
      var s = document.createElement('style');
      s.setAttribute("type", "text/css");
      css = '';
      css += '.message {background-color:#000000;}';
      css += '.message.odd {background-color:#000000;}';
      css += '.bg-red .message {background-color:#330000;}';
      css += '.bg-red .message.odd {background-color:#330000;}';
      css += '.bg-orange .message {background-color:#331100;}';
      css += '.bg-orange .message.odd {background-color:#331100;}';
      css += '.bg-yellow .message {background-color:#222200;}';
      css += '.bg-yellow .message.odd {background-color:#222200;}';
      css += '.bg-green .message {background-color:#002200;}';
      css += '.bg-green .message.odd {background-color:#002200;}';
      css += '.bg-blue .message {background-color:#000022;}';
      css += '.bg-blue .message.odd {background-color:#000022;}';
      css += '.bg-purple .message {background-color:#220022;}';
      css += '.bg-purple .message.odd {background-color:#220022;}';
      css += '.message-list {color:#ffffff;}';
      css += '.message-text {color:#ffffff;}';
      css += '.facebook .message .comment-count {background-color:#000000;}';
      css += '.facebook .comment .message {background-color:#000000;}';
      css += '.message .column-input {background-color:#333333;}';
      css += '.bg-red .comment .message, .bg-red .message .comment-count, .bg-red .message .column-input {background-color:#330000;}';
      css += '.bg-orange .comment .message, .bg-orange .message .comment-count, .bg-orange .message .column-input {background-color:#331100;}';
      css += '.bg-yellow .comment .message, .bg-yellow .message .comment-count, .bg-yellow .message .column-input {background-color:#222200;}';
      css += '.bg-green .comment .message, .bg-green .message .comment-count, .bg-green .message .column-input {background-color:#002200;}';
      css += '.bg-blue .comment .message, .bg-blue .message .comment-count, .bg-blue .message .column-input {background-color:#000022;}';
      css += '.bg-purple .comment .message, .bg-purple .message .comment-count, .bg-purple .message .column-input {background-color:#220022;}';
    
      s.innerHTML = css;
    
      document.body.appendChild(s);
    })();
    
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2011/11/08 16:42:45 - 2011-11-08
  2. 2011/11/08 16:37:04 - 2011-11-08
  3. 2011/11/08 00:34:33 - 2011-11-08
  4. 2011/10/07 08:59:48 - 2011-10-07
  5. 2011/10/07 08:59:23 - 2011-10-07
  6. 2011/06/30 12:18:07 - 2011-06-30
  7. 2010/12/29 09:11:19 - 2010-12-29
  8. 2010/12/24 09:53:39 - 2010-12-24
  9. 2010/12/06 09:19:00 - 2010-12-06
  10. 2010/12/01 22:22:39 - 2010-12-01
  11. 2010/12/01 17:26:04 - 2010-12-01
  12. 2010/11/29 22:33:55 - 2010-11-29
  13. 2010/11/29 00:41:49 - 2010-11-29