Skip to content

Commit 3a45337

Browse files
authored
fix comment
1 parent d02a2dd commit 3a45337

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js-cookie-monitor-debugger-hook.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ GM_config.init({
7676
function init() {
7777
// 对于无法用单纯文本表示的规则,手动改这里吧
7878
const additionalDebuggerRules = [];
79+
// example:
80+
// const additionalDebuggerRules = [{add: {name: "token"}}];
7981
// @since v0.6 断点规则发生了向后不兼容变化,详情请查阅文档
8082
const debuggerRules = [
8183
...GM_config.get("EventDebugger.rules").split('\n').flatMap(x => {
@@ -87,8 +89,6 @@ function init() {
8789
}),
8890
...additionalDebuggerRules
8991
];
90-
// example:
91-
// const debuggerRules = ["foo", /foo_\d+/];
9292

9393
// 设置事件断点是否开启,一般保持默认即可
9494
const enableEventDebugger = {

0 commit comments

Comments
 (0)