File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,9 @@ javascript: (async function () {
13
13
}
14
14
15
15
function scrollToBottom ( ) {
16
- window . scrollTo ( 0 , document . body . scrollHeight , { behavior : "smooth" } ) ;
16
+ window . scrollTo ( 0 , document . body . scrollHeight , {
17
+ // behavior: "smooth",
18
+ } ) ;
17
19
}
18
20
19
21
const doneKey = "auto-like-done" ;
@@ -37,7 +39,7 @@ javascript: (async function () {
37
39
for ( let btn of btns ) {
38
40
btn . scrollIntoView ( {
39
41
block : "center" ,
40
- behavior : "smooth" ,
42
+ // behavior: "smooth",
41
43
} ) ;
42
44
btn . click ( ) ;
43
45
await sleep ( 500 ) ;
@@ -51,7 +53,7 @@ javascript: (async function () {
51
53
btns . splice ( btns . indexOf ( btn ) , 1 ) ;
52
54
}
53
55
scrollToBottom ( ) ;
54
- await sleep ( 1000 ) ;
56
+ await sleep ( 3000 ) ;
55
57
}
56
58
alert ( "xong" ) ;
57
59
} ) ( ) ;
You can’t perform that action at this time.
0 commit comments