Skip to content

Commit 7fb76e2

Browse files
committed
🐰1.10.3 update: 解决新版ui提交备注页面ui覆盖问题
1 parent 61843cc commit 7fb76e2

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

leetcodeRating_greasyfork.user.js

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ==UserScript==
22
// @name LeetCodeRating|显示力扣周赛难度分
33
// @namespace https://github.com/zhang-wangz
4-
// @version 1.10.3
4+
// @version 1.10.4
55
// @license MIT
66
// @description LeetCodeRating 力扣周赛分数显现,支持所有页面评分显示
77
// @author 小东是个阳光蛋(力扣名)
@@ -125,12 +125,13 @@
125125
// @note 2023-05-19 1.10.1 修复因官方ui变化新版ui不显示分数的问题
126126
// @note 2023-05-24 1.10.2 修复界面不一致导致的一些问题
127127
// @note 2023-05-24 1.10.3 修复界面不一致导致的一些问题
128+
// @note 2023-05-29 1.10.4 解决新版ui提交备注页面ui覆盖问题
128129
// ==/UserScript==
129130

130131
(function () {
131132
'use strict';
132133

133-
let version = "1.10.3"
134+
let version = "1.10.4"
134135

135136
// 页面相关url
136137
const allUrl = "https://leetcode.cn/problemset/"
@@ -310,7 +311,7 @@
310311
// 菜单方法定义
311312
function Script_setting(){
312313
let menu_ALL = [
313-
['switchvpn', 'vpn', '是否使用cdn访问数据', true, true],
314+
['switchvpn', 'vpn', '是否使用cdn访问数据', true, false],
314315
['switchTea', '0x3f tea', '题库页灵茶信息显示', true, true],
315316
['switchpbRepo', 'pbRepo function', '题库页评分(不包括灵茶)', true, false],
316317
['switchdelvip', 'delvip function', '题库页去除vip加锁题目', false, true],
@@ -1565,7 +1566,8 @@
15651566
}
15661567
// console.log(v)
15671568
let pa = icon.parentNode
1568-
$(pa).removeClass("w-[120px]")
1569+
$(pa).removeClass("w-[100px]")
1570+
$(pa).addClass("w-[230px]")
15691571
let copy1 = icon.cloneNode(true);
15701572
copy1.innerText = subLst[i]["runtime"]
15711573
let copy2 = icon.cloneNode(true);

version.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"version": "1.10.3",
3-
"content": "修复界面不一致导致的一些问题"
2+
"version": "1.10.4",
3+
"content": "解决新版ui提交备注页面ui覆盖问题"
44
}

0 commit comments

Comments
 (0)