Fix DK5

Make DK5 apperance less blazingly painful

  1. // ==UserScript==
  2. // @name Fix DK5
  3. // @namespace http://dailykos.com/
  4. // @version 0.1
  5. // @description Make DK5 apperance less blazingly painful
  6. // @author Jan Rooth
  7. // @match http://www.dailykos.com/*
  8. // @match https://www.dailykos.com/*
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12. function addGlobalStyle(css) {
  13. var head, style;
  14. head = document.getElementsByTagName('head')[0];
  15. if (!head) { return; }
  16. style = document.createElement('style');
  17. style.type = 'text/css';
  18. style.innerHTML = css;
  19. head.appendChild(style);
  20. }
  21.  
  22. addGlobalStyle('body { color: #eee !important; }');
  23. addGlobalStyle('body { background-color: #444 !important; }');
  24. addGlobalStyle('.story-title a { color: #eee !important; }');
  25. addGlobalStyle('.story-social a { color: #eee !important; }');
  26. addGlobalStyle('a { color: #ea7106 !important; }');
  27. addGlobalStyle('.cke_textarea_inline { color: #000 !important; }');
  28. addGlobalStyle('blockquote { background-color: #777 !important; }');
  29. addGlobalStyle('.comment.preview .comment-wrapper { background-color: #777 !important; }');
  30. addGlobalStyle('.num-votes { color: #000 !important; }');
  31. addGlobalStyle('.msg { color: #000 !important; }');
  32. addGlobalStyle('.cke_dialog_ui_button { color: #000 !important; }');
  33. addGlobalStyle('.btn-primary { background-color: #444 !important; }');

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址