File tree 3 files changed +7
-4
lines changed 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1
1
// ==UserScript==
2
2
// @name LeetCodeRating|显示力扣周赛难度分
3
3
// @namespace https://github.com/zhang-wangz
4
- // @version 3.0.3
4
+ // @version 3.0.4
5
5
// @license MIT
6
6
// @description LeetCodeRating 力扣周赛分数显现和相关力扣小功能,目前浏览器更新规则,使用该插件前请手动打开浏览器开发者模式再食用~
7
7
// @author 小东是个阳光蛋(力扣名)
54
54
const pbUrl = 'https://leetcode.{2,7}/problems/.*' ;
55
55
// 限定pbstatus使用, 不匹配题解链接
56
56
const pbSolutionUrl = 'https://leetcode.{2,7}/problems/.*/solution.*' ;
57
+ const pbSubmissionsUrl = 'https://leetcode.{2,7}/problems/.*/submissions.*' ;
57
58
58
59
const searchUrl = 'https://leetcode.cn/search/.*' ;
59
60
const studyUrl = 'https://leetcode.cn/studyplan/.*' ;
1040
1041
let matchingLinks = Array . from ( links ) . filter ( link => {
1041
1042
return (
1042
1043
! link . getAttribute ( 'linkId' ) &&
1043
- link . href . match ( pbUrl ) &&
1044
+ link . href . match ( pbUrl ) &&
1045
+ ! link . href . match ( pbSubmissionsUrl ) &&
1044
1046
! link . href . match ( pbSolutionUrl )
1045
1047
) ;
1046
1048
} ) ;
Original file line number Diff line number Diff line change 173
173
// @note 2025-05-06 3.0.1 纸片人图片逻辑问题修复,感谢@zmctwjt的pr
174
174
// @note 2025-05-10 3.0.2 PR by @median-dxz: 修复侧边栏题目高亮不一致的bug
175
175
// @note 2025-05-15 3.0.3 修复切换页面监听刷新的问题; PR by @jianchau,修改cdn地址;
176
+ // @note 2025-05-27 3.0.4 去掉提交记录tab中的状态和分数展示
176
177
Original file line number Diff line number Diff line change 1
1
{
2
- "version" : " 3.0.3 " ,
3
- "content" : " 修复切换页面监听刷新的问题; PR by @jianchau,修改cdn地址; " ,
2
+ "version" : " 3.0.4 " ,
3
+ "content" : " 去掉提交记录tab中的状态和分数展示 " ,
4
4
"papermanpic" : " https://i.mij.rip/2025/04/29/1e40225e739fba34536e4ad18aa7d718.png"
5
5
}
6
6
You can’t perform that action at this time.
0 commit comments