HappyLeetcode

做一个快乐的工程师,增加字体大小

  1. // ==UserScript==
  2. // @name HappyLeetcode
  3. // @namespace http://tampermonkey.net/
  4. // @homepage https://github.com/mouday/tampermonkey-script
  5. // @version 0.2
  6. // @description 做一个快乐的工程师,增加字体大小
  7. // @author Mouday
  8. // @match https://leetcode-cn.com/*
  9. // @grant none
  10. // @email pengshiyuyx@163.com
  11.  
  12. // @grant window.onload
  13. // @grant unsafeWindow
  14. // ==/UserScript==
  15.  
  16.  
  17. // 添加用户自定义样式
  18. function addUserStyle(){
  19. let style_ = '<style>.content__1Y2H{font-size: 16px}</style>';
  20. document.body.insertAdjacentHTML('beforeend', style_);
  21. }
  22.  
  23.  
  24. (function() {
  25. 'use strict';
  26. addUserStyle();
  27.  
  28. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址