CSS: internationalwealth.info

Corrections of internationalwealth.info CSS

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

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