1
0
Fork 0

屏幕刷新,停止阅读

Alpha-snapshot20230531
倪玲丽 2023-05-06 18:18:12 +08:00
parent d6bd24ee1c
commit ce28b91bd5
1 changed files with 4 additions and 1 deletions

View File

@ -66,3 +66,6 @@ function onChooseClick() {
function stopRead() { function stopRead() {
reader.cancel(); reader.cancel();
} }
if (performance.navigation.type == 1) { //如果网页刷新,停止播放声音
stopRead()
}