🏠 Home 

Messenger Dark theme

Dark theme for web versioin messenger.

  1. // ==UserScript==
  2. // @name Messenger Dark theme
  3. // @namespace Wizzergod
  4. // @version 1.0.8
  5. // @description Dark theme for web versioin messenger.
  6. // @homepageURL https://www.twitch.tv/wizzergod
  7. // @supportURL https://www.twitch.tv/wizzergod
  8. // @author Wizzergod
  9. // @match *://*.www.messenger.com/*
  10. // @match *://*.messenger.com/*
  11. // @match *://messenger.com/*
  12. // @grant unsafeWindow
  13. // @icon https://static.xx.fbcdn.net/rsrc.php/yd/r/hlvibnBVrEb.svg
  14. // ==/UserScript==
  15. function addGlobalStyle(css) {
  16. var head, style;
  17. head = document.getElementsByTagName('head')[0];
  18. if (!head) { return; }
  19. style = document.createElement('style');
  20. style.type = 'text/css';
  21. style.innerHTML = css;
  22. head.appendChild(style);
  23. }
  24. addGlobalStyle('._4sp8 {background-color: #444950 !important;}');
  25. addGlobalStyle('._5irm._7mkm {background-color: #606770 !important;}');
  26. addGlobalStyle('._558b ._54ng {background-color: #606770fa !important;}');
  27. addGlobalStyle('._3egs {background: #444950 !important;}');
  28. addGlobalStyle('._3egs {background-color: rgb(68, 73, 80) !important;}');
  29. addGlobalStyle('._hh7 {background-color: rgb(255 255 255 / 7%) !important;}');
  30. addGlobalStyle('._hh7 {color: #f5f6f7 !important;}');
  31. addGlobalStyle('._6-xo {color: #f5f6f7 !important;}');
  32. addGlobalStyle('._17w2 {color: #f5f6f7 !important;}');
  33. addGlobalStyle('._3eur._6ybk a {color: #f5f6f7 !important;}');
  34. addGlobalStyle('._1lj0._6ybm {color: #f5f6f7ad !important;}');
  35. addGlobalStyle('._7st9 {color: #ccc !important;}');
  36. addGlobalStyle('._1ht7 {color: #606770 !important;}');
  37. addGlobalStyle('._5iwm._6-_b ._58al {background-color: #606770 !important;}');
  38. addGlobalStyle('._4-hy ._3ixn {background-color: rgba(0, 0, 0, .5) !important;}');
  39. addGlobalStyle('._4eby {background: #8d949ed4 !important;}');
  40. addGlobalStyle('._4eby {border-radius: 0px !important;}');
  41. addGlobalStyle('._2i-c ._54nf ._54nh {color: #dadde1 !important;}');
  42. addGlobalStyle('._3eus, ._5uh {color: #8d949e !important;}');
  43. addGlobalStyle('._3szq {color: #8d949e !important;}');
  44. addGlobalStyle('._7ht_ {color: #606770 !important;}');
  45. addGlobalStyle('._4k7a {color: #606770 !important;}');
  46. addGlobalStyle('._1r_9 ._53ij {box-shadow: 0 0 0 1px rgb(0, 0, 0, .35), 0 1px 10px rgba(0, 0, 0, .35) !important;}');
  47. addGlobalStyle('body {background: #606770 !important;');
  48. addGlobalStyle('body {color: #bec3c9 !important;');
  49. addGlobalStyle('._4gd0 {background: #606770 !important;}');