CSS: internationalwealth.info

Corrections to UI of internationalwealth.info: font style

目前为 2021-02-18 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @name CSS: internationalwealth.info
  3. // @description Corrections to UI of internationalwealth.info: font style
  4. // @author MK
  5. // @namespace max44
  6. // @homepage https://greasyfork.org/en/users/309172-max44
  7. // @include https://internationalwealth.info/*
  8. // @include http://internationalwealth.info/*
  9. // @version 1.1.1
  10. // @note v1.1.1 2021-02-18: @namespace and @homepage changed
  11. // @note v1.1 2021-01-01: code is rewritten to add CSS to the end of the document instead of <HEAD> tag in order to overcome possible server side CSS with !important rule
  12. // @note v1.0 2020-12-29: initial release
  13. // ==/UserScript==
  14.  
  15. (function() {
  16. var css = `
  17. p, a {
  18. font-weight: normal !important;
  19. }
  20. /*ul, ol, li {
  21. font-size: 15px !important;
  22. }*/
  23. `;
  24.  
  25. if (typeof GM_addStyle != 'undefined') {
  26. GM_addStyle(css);
  27. } else if (typeof PRO_addStyle != 'undefined') {
  28. PRO_addStyle(css);
  29. } else if (typeof addStyle != 'undefined') {
  30. addStyle(css);
  31. } else {
  32. var node = document.createElement('style');
  33. node.type = 'text/css';
  34. node.appendChild(document.createTextNode(css));
  35. document.documentElement.appendChild(node);
  36. }
  37. })();