Greasy Fork is available in English.

Facebook Messenger Dark Theme Night Mode

Facebook Messenger Dark Theme Night Mode - currently undergoing build

// ==UserScript==
// @name        Facebook Messenger Dark Theme Night Mode
// @namespace   english
// @description Facebook Messenger Dark Theme Night Mode - currently undergoing build
// @include     http*://*messenger.com*
// @version     1.23
// @run-at document-end
// @grant       GM_addStyle
// ==/UserScript==



var style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = '  html  body, html  ,body  {/*\n*/    background: #272727;/*\n*/    color: #1d2129;/*\n*/  /*\n*/}html   ._4sp8 {/*\n*/    background-color: #969696;/*\n*/ /*\n*/    font-size: 14px;/*\n*/    min-width: 500px;/*\n*/}._1htf {/*\n*/    color: rgb(83, 83, 83);/*\n*/    font-size: 13px;/*\n*/    font-weight: 400;/*\n*/}html   ._hh7 {/*\n*/    background-color: #b7b7b7;/*\n*/    color: rgba(0, 0, 0, 1);/*\n*/    /*\n*/}._4rv6 ,._4rv3 ._4rv4 ._5vn8,a._4ce_ , ._2o-b ,._4rv7, ._4rv3 ._5s2p , ._4rv3 ._yht{/*\n*/    /*\n*/    opacity: .73;/*\n*/  /*\n*/    filter: invert(100%);/*\n*/}._2f5n {/*\n*/    background-color: #747474;/*\n*/    border: 1px solid rgba(0, 0, 0, .1);/*\n*/ /*\n*/}._aou {/*\n*/    align-items: center;/*\n*/    background: #353535;/*\n*/    /*\n*/    color: #b3b3b3;/*\n*/    /*\n*/}.sp_N1ER1bkS1OC{filter:sepia(100%);opacity:1;} ._ih3  {    color: rgba(255, 255, 255, 0.4) !important ;   } body, html, html body {/*\n*/    background: #272727   !important /*\n*/    background-color: #272727   !important /*\n*/    background-image: none   !important /*\n*/}._2sdm {/*\n*/    background-color: #272727    !important /*\n*/    /*\n*/}html ._4sp8 {/*\n*/    background-color: #272727    !important /*\n*/   /*\n*/}._o46 {/*\n*/ /*\n*/    filter: invert(100%)hue-rotate(180deg)    !important /*\n*/}._497p {/*\n*/    color: rgba(255, 255, 255, 0.4)    !important /*\n*/   /*\n*/}._1ht6 {/*\n*/    color: rgb(255, 255, 255)    !important /*\n*/    /*\n*/}._1htf {/*\n*/    color: rgb(181, 181, 181)    !important /*\n*/     /*\n*/}._2jnv, ._2jnx, ._2jnz, ._2jnx ._30e7 ._5j5f {/*\n*/    color: rgb(255, 255, 255)    !important /*\n*/   /*\n*/}._1lj0 {/*\n*/     color: rgba(255, 255, 255, 0.4) !important /*\n*/    /*\n*/}._3szq {/*\n*/    color: rgb(239, 239, 239) !important /*\n*/    /*\n*/}._3x6v {/*\n*/    color: rgba(255, 255, 255, 0.4) !important /*\n*/    /*\n*/}._364g {/*\n*/    color: rgb(255, 255, 255) !important /*\n*/    /*\n*/}._5rh4, ._5qsj {/*\n*/    color: rgba(255, 255, 255, 0.4) !important /*\n*/    /*\n*/}._4rph ._4rpj {/*\n*/    color: rgb(239, 239, 239) !important /*\n*/    /*\n*/}._1ht7 {/*\n*/    color: rgba(255, 255, 255, 0.4) !important /*\n*/     /*\n*/}._1mj {/*\n*/    /*\n*/    color: #ccc !important /*\n*/}._4rv3 {/*\n*/    border-top: 1px solid rgba(121, 121, 121, 0.22) !important /*\n*/    /*\n*/}._4_j4 .chatAttachmentShelf {/*\n*/    background-color: #565656 !important /*\n*/    border-top: 1px solid #525252 !important /*\n*/   /*\n*/}._17w2 {/*\n*/    color: rgb(206, 206, 206) !important /*\n*/   /*\n*/}._225b {/*\n*/    /*\n*/    color: rgba(255, 255, 255, 0.4) !important /*\n*/   /*\n*/}.sp_0oduRWyKGT_ {/*\n*/    /*\n*/    filter: invert(100%) !important /*\n*/}._2y8y {/*\n*/    border-bottom: 1px solid rgb(109, 109, 109) !important ;/*\n*/  /*\n*/}._2y8y _5l-3 input,._2y8y _5l-3 span {color:#ccc !important ;}._2y8z {/*\n*/    color: rgba(220, 220, 220, 0.56) !important ;/*\n*/   /*\n*/} ._2y8_ {/*\n*/    background-color: #585858 !important ;/*\n*/    /*\n*/}._14-7._14-7 ._58al {/*\n*/ /*\n*/    color: #ccc !important ;/*\n*/}._3q35 {/*\n*/    color: rgba(239, 239, 239, 0.4) !important ;/*\n*/    /*\n*/}._3q34 {/*\n*/    color: rgb(234, 234, 234) !important ;/*\n*/   /*\n*/}h1, h2, h3, h4, h5, h6 {/*\n*/    color: #e0e0e0 !important ;/*\n*/   /*\n*/}._1ht3 ._1ht6, ._1ht3 ._1htf {     zoom: 1.15;    filter: sepia(80%)brightness(95%)hue-rotate(162deg);} ._4rv3 {/*\n*/    border-top: 1px solid rgba(121, 121, 121, 0.22) !important /* */ /* */;/*\n*/    filter: invert(100)hue-rotate(180deg)contrast(0.8);/*\n*/}/*\n*/._1mj {/*\n*/    color: #383838 !important /* */;/*\n*/}/*\n*/._jf2, ._jf3 {/*\n*/    /*\n*/   /*\n*/    filter: invert(100)hue-rotate(180deg);/*\n*/}/*\n*/._5m3a { /*\n*/    filter: invert(100)hue-rotate(180deg);/*\n*/}/*\n*/._4tsk {/*\n*/   /*\n*/    filter: invert(100)hue-rotate(180deg);/*\n*/}/*\n*//*\n*/._5iwm._6-_b ._58al {/*\n*/ /*\n*/    color: #dcd4d4;/*\n*/}/*\n*//*\n*/._6b {/*\n*/ /*\n*/    filter: invert(100);/*\n*/}._aou {/*\n*/     /*\n*/    background: #ffffff; /*\n*/}._6-xp {/*\n*/  /*\n*/    filter: invert(100);/*\n*/}._3eur._6ybk a {/*\n*/    color: #b1b1b1;/*\n*/}._3eus, ._5uh {/*\n*/    color: rgba(185, 185, 185, 0.78);/*\n*/    /*\n*/}._2v6o, ._5eu7, ._6krh {/*\n*/    color: rgba(216, 216, 216, 0.4);/*\n*/    /*\n*/} ._4rv9._5j_u {    filter: invert(100)hue-rotate(180deg);}._4gd0 {    background: #2f2f2f00;}  html ._hh7 {     color: rgba(0, 0, 0, 1);}  ._nd_ ._hh7 a { color: #000;}  ._nd_ ._hh7   { color: #000;}._nd_ ._5i_d ._3xn1 {     filter: invert(100)hue-rotate(180deg);}._1ht2 {/*\n*/    background-color: #4a4a4a !important;/*\n*/}._29_7 ._3058._15gf ._2poz {/*\n*/   /*\n*/    filter: invert(1)hue-rotate(180deg)brightness(1.4);/*\n*/}            ';
document.getElementsByTagName('head')[0].appendChild(style);