CSS: cyberyozh.com

Corrections of cyberyozh.com CSS

目前为 2020-12-29 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @name CSS: cyberyozh.com
  3. // @description Corrections of cyberyozh.com CSS
  4. // @author MK
  5. // @homepage https://greasyfork.org/en/scripts/
  6. // @namespace https://greasyfork.org/users/309172
  7. // @include https://cyberyozh.com/*
  8. // @include http://cyberyozh.com/*
  9. // @version 1.0
  10. // @note v1.0 2020-12-29 - initial release
  11. // ==/UserScript==
  12. (function() {
  13. var css = `
  14. body, a {
  15. font-weight: normal !important;
  16. }
  17. `;
  18.  
  19. if (typeof GM_addStyle != 'undefined') {
  20. GM_addStyle(css);
  21. } else if (typeof PRO_addStyle != 'undefined') {
  22. PRO_addStyle(css);
  23. } else if (typeof addStyle != 'undefined') {
  24. addStyle(css);
  25. } else {
  26. var node = document.createElement('style');
  27. node.type = 'text/css';
  28. node.appendChild(document.createTextNode(css));
  29. var heads = document.getElementsByTagName('head');
  30. if (heads.length > 0) {
  31. heads[0].appendChild(node);
  32. } else {
  33. // no head yet, stick it whereever
  34. document.documentElement.appendChild(node);
  35. }
  36. }
  37. })();