Skip to content

Commit 4af6e4c

Browse files
committed
🐲2.4.5 update: 修复题解复制去除版权信息功能
1 parent 9b8c4a3 commit 4af6e4c

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

Diff for: leetcodeRating_greasyfork.user.js

+3-3
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 2.4.4
4+
// @version 2.4.5
55
// @license MIT
66
// @description LeetCodeRating 力扣周赛分数显现和相关力扣小功能,目前浏览器更新规则,使用该插件前请手动打开浏览器开发者模式再食用~
77
// @author 小东是个阳光蛋(力扣名)
@@ -32,7 +32,7 @@
3232
(async function () {
3333
'use strict';
3434

35-
let version = "2.4.4"
35+
let version = "2.4.5"
3636
let pbstatusVersion = "version13"
3737
const dummySend = XMLHttpRequest.prototype.send;
3838
const originalOpen = XMLHttpRequest.prototype.open;
@@ -306,7 +306,7 @@
306306
}
307307

308308
function copyNoRight() {
309-
new ElementGetter().each('.FN9Jv.WRmCx > div:has(code)', document, (item) => {
309+
new ElementGetter().each('.WRmCx > div:has(code)', document, (item) => {
310310
addCopy(item)
311311
let observer = new MutationObserver(function(mutationsList, observer) {
312312
// 检查每个变化

Diff for: updatelog.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -151,4 +151,5 @@
151151
// @note 2024-08-16 2.4.1 上线新功能<每天最多只更新一次>,勾选后如果有更新,最多只会弹框一次,更新之后剩余如果再有更新会在第二天才弹窗
152152
// @note 2024-09-29 2.4.2 修复因官方ui调整和请求参数调整而失效的题库页vip题目筛选功能和题目页算术评分和竞赛信息显示功能
153153
// @note 2024-10-06 2.4.3 修复题目状态初始化同步弹窗在力扣暗色主题下显示异常的问题
154-
// @note 2024-11-13 2.4.4 插件公告,目前浏览器更新规则,使用该插件前请手动打开浏览器开发者模式再食用~
154+
// @note 2024-11-13 2.4.4 插件公告,目前浏览器更新规则,使用该插件前请手动打开浏览器开发者模式再食用~
155+
// @note 2024-12-13 2.4.5 修复题解复制去除版权信息功能

Diff for: version.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"version": "2.4.4",
3-
"content": "插件公告,目前浏览器更新规则,使用该插件前请手动打开浏览器开发者模式再食用~"
2+
"version": "2.4.5",
3+
"content": "修复题解复制去除版权信息功能"
44
}

0 commit comments

Comments
 (0)