Skip to content

Commit d094142

Browse files
committed
修复 脚本菜单开关提示内容显示错误的问题
1 parent 9bd6a90 commit d094142

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

V2ex-Enhanced.user.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name V2EX 增强
3-
// @version 1.0.1
3+
// @version 1.0.2
44
// @author X.I.U
55
// @description 自动签到、自动无缝翻页、回到顶部(右键点击两侧空白处)
66
// @match *://v2ex.com/*
@@ -48,10 +48,10 @@
4848
function menu_switch(menu_status, Name, Tips) {
4949
if (menu_status == 'true'){
5050
GM_setValue(`${Name}`, false);
51-
GM_notification({text: `已关闭 [${Tips}] 功能\n(刷新网页后生效)`, title: '吾爱破解论坛增强', timeout: 3000});
51+
GM_notification({text: `已关闭 [${Tips}] 功能\n(刷新网页后生效)`, timeout: 3000});
5252
}else{
5353
GM_setValue(`${Name}`, true);
54-
GM_notification({text: `已开启 [${Tips}] 功能\n(刷新网页后生效)`, title: '吾爱破解论坛增强', timeout: 3000});
54+
GM_notification({text: `已开启 [${Tips}] 功能\n(刷新网页后生效)`, timeout: 3000});
5555
}
5656
registerMenuCommand(); // 重新注册脚本菜单
5757
};

0 commit comments

Comments
 (0)