onbeforeunload章节中已过时的警告提示信息
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 45/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- documentation
Research direction
Open the linked onload-ondomcontentloaded page at the window.onbeforeunload section and compare it with the Russian tutorial. Remove the outdated warning that says event.preventDefault() does not work, then check the surrounding Chinese text to ensure the section remains coherent.
Written by the indexing model from the issue text.
Description
位置:
https://zh.javascript.info/onload-ondomcontentloaded#window.onbeforeunload
event.preventDefault() 在 beforeunload 处理程序中不起作用 这一部分的警告提示信息已过时
经测试,event.preventDefault()是正常起作用的,查看了下俄文原版教程,这一段内容也已经删除了
测试环境:
Chromium Engine Version 127.0.6533.89
Safari 版本17.5 (19618.2.12.11.6)
建议:
同步删除该部分内容
- Dominant language
- HTML
- Stars
- 10.8k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from javascript-tutorial/zh.javascript.info
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 1/5 Under an hour Newbie friendliness 62/100
javascript-tutorial/zh.javascript.info#1243 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 45/100
-
修改dom那一节,下面有一题,答案错误 Open
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
javascript-tutorial/zh.javascript.info#1264 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 55/100
All issues in javascript-tutorial/zh.javascript.info
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
palladius/rails8-app-on-gcp#145 ·
-
NeedsTriage
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
error Open
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
textual definition
Difficulty 1/5 Under an hour Newbie friendliness 90/100
geneontology/go-ontology#32653 ·