Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/app/service/service_worker/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,9 @@ export default class ServiceWorkerManager {
// 如该网域没有任何有效脚本则忽略
const domain = newDomain;
const anyOpened = await script.openBatchUpdatePage({
q: domain ? `site=${domain}` : "",
// https://github.com/scriptscat/scriptcat/issues/1087
// 关于 autoclose,日后再检讨 UI/UX 设计
q: domain ? `autoclose=30&site=${domain}` : "autoclose=30",
Copy link
Collaborator Author

@cyfung1031 cyfung1031 Jan 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@CodFrm 呀。怪不得关不了。这里单位是ms不是s

30000 才对

dontCheckNow: true,
});
if (anyOpened) {
Expand Down
Loading