Greasy Fork 支持简体中文。

CSS: startpage.com

Corrections to UI of startpage.com

  1. // ==UserScript==
  2. // @name CSS: startpage.com
  3. // @description Corrections to UI of startpage.com
  4. // @author MK
  5. // @namespace max44
  6. // @homepage https://greasyfork.org/en/users/309172-max44
  7. // @match *://*.startpage.com/*
  8. // @version 2.0
  9. // @license MIT
  10. // @run-at document-idle
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. var css = `
  15. /* Bigger gap between search results */
  16. div.result {
  17. padding: 15px 0; !important;
  18. }
  19. /* Smaller gaps inside search result */
  20. a.result-title > h2 {
  21. margin: 3px 0 6px 0 !important;
  22. }
  23. /* Smaller font size of URL */
  24. .result > .upper > a {
  25. font-size: 12.5px !important;
  26. }
  27. `;
  28.  
  29. if (typeof GM_addStyle != 'undefined') {
  30. GM_addStyle(css);
  31. } else if (typeof PRO_addStyle != 'undefined') {
  32. PRO_addStyle(css);
  33. } else if (typeof addStyle != 'undefined') {
  34. addStyle(css);
  35. } else {
  36. var node = document.createElement('style');
  37. node.type = 'text/css';
  38. node.appendChild(document.createTextNode(css));
  39. document.documentElement.appendChild(node);
  40. }
  41. })();