JetBrains the World

Let JetBrains take over the world.

当前为 2023-12-28 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name JetBrains the World
  3. // @name:ja 世界をジェットブレインズに
  4. // @version 2023-12-28
  5. // @description Let JetBrains take over the world.
  6. // @description:ja ジェットブレインズに世界を任せよう。
  7. // @author PowfuArras
  8. // @match *://*/*
  9. // @icon https://cdn.glitch.global/0569f2ce-2c37-40fa-ae0e-360edca67c05/0978a0f9-98ab-4629-ac25-bf4b0b2abb21.image.png?v=1703726101721
  10. // @grant none
  11. // @run-at document-start
  12. // @namespace https://greasyfork.org/users/951187
  13. // ==/UserScript==
  14.  
  15. (function() {
  16. "use strict";
  17. const fontLinkElement = document.createElement('link');
  18. fontLinkElement.rel = 'stylesheet';
  19. fontLinkElement.href = 'https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@500&display=swap';
  20. document.head.appendChild(fontLinkElement);
  21.  
  22. const style = document.createElement('style');
  23. style.innerHTML = `* { font-family: 'JetBrains Mono', monospace !important; }`;
  24. document.head.appendChild(style);
  25. })();