Skip to content

Commit

Permalink
Merge pull request #3 from Octopus058/main
Browse files Browse the repository at this point in the history
docs: Update v1.9.5.md
  • Loading branch information
Octopus058 authored Oct 4, 2024
2 parents df81374 + 33ae765 commit e232ce4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/install/v1.9.5.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,16 @@ e.hasActivated="true"=="true"

![4](https://github.com/user-attachments/assets/a2eadcda-d89d-4dba-b41f-778b030c873c)

翻到最下面,找到如下代码
删掉所有内容,改成如下代码
```html
<body onload='setTimeout("func()", 0)'>
<script>
function func() {
window.opener = null;
window.close();
}
</script>
</body>

</html>
```

在"/body"的上一行加上
```html
<script>window.οnload = function () { setTimeout(() => { window.close(); }, 5); }</script>
```

### 第三步
Expand Down

0 comments on commit e232ce4

Please sign in to comment.