Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]提交页面下可能会遇到不让输入的情况 #409

Closed
2 tasks done
zhouyiqing0304 opened this issue Jan 30, 2024 · 11 comments
Closed
2 tasks done

[Bug]提交页面下可能会遇到不让输入的情况 #409

zhouyiqing0304 opened this issue Jan 30, 2024 · 11 comments
Labels
bug Something isn't working

Comments

@zhouyiqing0304
Copy link
Contributor

检查项

  • 我已确认了XMOJ增强脚本已为最新版,且最新版未修复这个 Bug 。
  • 我已在 Issues 页面 中搜索,确认了这一 Bug 未被提交过。

描述

给一个屁用没有过的框子,点击也没反应

重现步骤

只要是提交页面就是这样

控制台错误信息

userscript.html?name=XMOJ.user.js&id=829a9a59-3694-4ceb-a652-79cc3cd5c13e:3673 {Success: true, Data: {…}, Message: '数据发送成功'}Data: {}Message: "数据发送成功"Success: true[[Prototype]]: Object
edit_area_full.js:2 Uncaught TypeError: Cannot read properties of null (reading 'parentNode')
at EAL.start (edit_area_full.js:2:5199)
at :1:5
start @ edit_area_full.js:2
(匿名) @ VM4735:1
setTimeout(异步)
start @ edit_area_full.js:2
(匿名) @ VM4729:1
setTimeout(异步)
start @ edit_area_full.js:2
(匿名) @ VM4726:1
setTimeout(异步)
start @ edit_area_full.js:2
(匿名) @ VM4725:1
setTimeout(异步)
start @ edit_area_full.js:2
init @ edit_area_full.js:2
(匿名) @ submitpage.php?cid=6935&pid=0&langmask=5:99

@zhouyiqing0304 zhouyiqing0304 added bug Something isn't working needs-triage Needs to be looked at labels Jan 30, 2024
@boomzero
Copy link
Member

hmm

@boomzero
Copy link
Member

@zhouyiqing0304langningchen/XMOJ-Script#26 一样吗

@boomzero
Copy link
Member

哦, regression

@boomzero
Copy link
Member

great...

@boomzero
Copy link
Member

评价一下: 等几秒

@boomzero
Copy link
Member

其实有两种方案:

  1. 让整个脚本变得慢
  2. 让个别功能变得慢

@boomzero boomzero removed the needs-triage Needs to be looked at label Jan 30, 2024
@boomzero
Copy link
Member

boomzero commented Jan 30, 2024

@zhouyiqing0304

可以开一下这个

image

@zhouyiqing0304

This comment was marked as spam.

@github-project-automation github-project-automation bot moved this from Todo to Done in xmoj-script Jan 30, 2024
@boomzero boomzero reopened this Jan 30, 2024
@github-project-automation github-project-automation bot moved this from Done to In Progress in xmoj-script Jan 30, 2024
@boomzero
Copy link
Member

遗憾的是, 可以复现

@boomzero
Copy link
Member

@zhouyiqing0304 fixed!

boomzero added a commit that referenced this issue Jan 31, 2024
* fix #409 (@langningchen do it this way...)

* 1.1.36

* Update version info to 1.1.36

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@boomzero
Copy link
Member

@zhouyiqing0304 The fix is in dev

@github-project-automation github-project-automation bot moved this from In Progress to Done in xmoj-script Jan 31, 2024
boomzero added a commit that referenced this issue Jan 31, 2024
* feat: enable spell checking for bbs and short_msg

* 1.1.20

* Update version info to 1.1.20

* write rel notes

* Update time and description of 1.1.20

* fix spellcheck (#377)

* spellcheck that works

* 1.1.21

* Update version info to 1.1.21

* rel notes

* Update time and description of 1.1.21

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* sleep for a sec after submitting to prevent xmoj from crashing (#378)

* rel notes

* 1.1.22

* Update version info to 1.1.22

---------

Signed-off-by: Zhu Chenrui <85378277+boomzero@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Update sitemap-automation.yml

Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>

* 更新index.html

Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>

* Update index.html

Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>

* Automated sitemap update.

* 增加赞助option

Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>

* Add license scan report and status

Signed off by: fossabot <badges@fossa.com>

* Update README.md

Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>

* Update XMOJ.user.js

Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>

* 1.1.23

* Update version info to 1.1.23

* make the upload_std interface prettier (#393)

* rel notes

* make the std interface better

* 1.1.24

* Update version info to 1.1.24

* don't lie

* Update time and description of 1.1.24

* Update time and description of 1.1.24

---------

Signed-off-by: Zhu Chenrui <Thomas_rainbowfish@icloud.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* fix problemstatus (#394)

* rel notes

* make the std interface better

* 1.1.24

* Update version info to 1.1.24

* don't lie

* fix another stupid mistake @langningchen made

* 1.1.25

* Update version info to 1.1.25

---------

Signed-off-by: Zhu Chenrui <Thomas_rainbowfish@icloud.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* 1.1.26

* Update to release 1.1.26

* write rel notes

* 1.1.27

* Update to release 1.1.27

* write rel notes

* 1.1.28

* Update to release 1.1.28

* write rel notes

* 1.1.29

* Update to release 1.1.29

* make the script much faster (#403)

* 你说的对, 但是你没有implement

* fix #364; fix #342; fmt; make the script faster

* fix the mess swx created

* 1.1.30

* fix the mess swx created

* Update version info to 1.1.30

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* 1.1.31

* Update to release 1.1.31

* more choices (#406)

* 你说的对, 但是你没有implement

* fix #364; fix #342; fmt; make the script faster

* fix the mess swx created

* 1.1.30

* fix the mess swx created

* Because choice

* 1.1.32

* Update version info to 1.1.32

---------

Signed-off-by: Zhu Chenrui <Thomas_rainbowfish@icloud.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* superdebug mode (#407)

* 你说的对, 但是你没有implement

* fix #364; fix #342; fmt; make the script faster

* fix the mess swx created

* 1.1.30

* fix the mess swx created

* Because choice

* Super debug

* 1.1.33

* Update version info to 1.1.33

---------

Signed-off-by: Zhu Chenrui <Thomas_rainbowfish@icloud.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Update XMOJ.user.js

Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>

* 1.1.34

* Update version info to 1.1.34

* Update XMOJ.user.js

Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>

* 1.1.35

* Update version info to 1.1.35

* fix #409 (#413)

* fix #409 (@langningchen do it this way...)

* 1.1.36

* Update version info to 1.1.36

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* 1.1.37

* Update to release 1.1.37

---------

Signed-off-by: Zhu Chenrui <85378277+boomzero@users.noreply.github.com>
Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>
Signed-off-by: Zhu Chenrui <Thomas_rainbowfish@icloud.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Shan Wenxiao <seanoj_noreply@yeah.net>
Co-authored-by: fossabot <badges@fossa.io>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
boomzero added a commit that referenced this issue Feb 17, 2024
* feat: enable spell checking for bbs and short_msg

* 1.1.20

* Update version info to 1.1.20

* write rel notes

* Update time and description of 1.1.20

* fix spellcheck (#377)

* spellcheck that works

* 1.1.21

* Update version info to 1.1.21

* rel notes

* Update time and description of 1.1.21

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* sleep for a sec after submitting to prevent xmoj from crashing (#378)

* rel notes

* 1.1.22

* Update version info to 1.1.22

---------

Signed-off-by: Zhu Chenrui <85378277+boomzero@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Update sitemap-automation.yml

Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>

* 更新index.html

Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>

* Update index.html

Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>

* Automated sitemap update.

* 增加赞助option

Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>

* Add license scan report and status

Signed off by: fossabot <badges@fossa.com>

* Update README.md

Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>

* Update XMOJ.user.js

Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>

* 1.1.23

* Update version info to 1.1.23

* make the upload_std interface prettier (#393)

* rel notes

* make the std interface better

* 1.1.24

* Update version info to 1.1.24

* don't lie

* Update time and description of 1.1.24

* Update time and description of 1.1.24

---------

Signed-off-by: Zhu Chenrui <Thomas_rainbowfish@icloud.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* fix problemstatus (#394)

* rel notes

* make the std interface better

* 1.1.24

* Update version info to 1.1.24

* don't lie

* fix another stupid mistake @langningchen made

* 1.1.25

* Update version info to 1.1.25

---------

Signed-off-by: Zhu Chenrui <Thomas_rainbowfish@icloud.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* 1.1.26

* Update to release 1.1.26

* write rel notes

* 1.1.27

* Update to release 1.1.27

* write rel notes

* 1.1.28

* Update to release 1.1.28

* write rel notes

* 1.1.29

* Update to release 1.1.29

* make the script much faster (#403)

* 你说的对, 但是你没有implement

* fix #364; fix #342; fmt; make the script faster

* fix the mess swx created

* 1.1.30

* fix the mess swx created

* Update version info to 1.1.30

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* 1.1.31

* Update to release 1.1.31

* more choices (#406)

* 你说的对, 但是你没有implement

* fix #364; fix #342; fmt; make the script faster

* fix the mess swx created

* 1.1.30

* fix the mess swx created

* Because choice

* 1.1.32

* Update version info to 1.1.32

---------

Signed-off-by: Zhu Chenrui <Thomas_rainbowfish@icloud.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* superdebug mode (#407)

* 你说的对, 但是你没有implement

* fix #364; fix #342; fmt; make the script faster

* fix the mess swx created

* 1.1.30

* fix the mess swx created

* Because choice

* Super debug

* 1.1.33

* Update version info to 1.1.33

---------

Signed-off-by: Zhu Chenrui <Thomas_rainbowfish@icloud.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Update XMOJ.user.js

Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>

* 1.1.34

* Update version info to 1.1.34

* Update XMOJ.user.js

Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>

* 1.1.35

* Update version info to 1.1.35

* fix #409 (#413)

* fix #409 (@langningchen do it this way...)

* 1.1.36

* Update version info to 1.1.36

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* 1.1.37

* Update to release 1.1.37

* major restructuring(fixes #364) (#416)

* fix #364 forever

* 1.1.38

* Update version info to 1.1.38

* Update time and description of 1.1.38

* Update time and description of 1.1.38

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* 增加更新链接

Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>

* 1.1.39

* Update version info to 1.1.39

* Revert "增加更新链接,优化格式" (#425)

* Revert "增加更新链接,优化格式"

* 1.1.39

* Update version info to 1.1.39

* Update time and description of 1.1.39

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Update XMOJ.user.js

Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>

* Update XMOJ.user.js

Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>

* 1.1.40

* Update version info to 1.1.40

* 增加开发组成员,zhouyiqing

Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>

* 1.1.41

* Update version info to 1.1.41

* Bump peter-evans/create-pull-request from 5.0.2 to 6.0.0

Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 5.0.2 to 6.0.0.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](peter-evans/create-pull-request@v5.0.2...v6.0.0)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update sitemap-automation.yml

Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>

* Update sitemap-automation.yml

Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>

* Update sitemap-automation.yml

Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>

* Update sitemap-automation.yml

Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>

* Update sitemap-automation.yml

Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>

* Update Update.json

Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>

* fix  [Bug] 右上角用户名点击后无反应  (#445)

* Make popovers work

Signed-off-by: Zhu Chenrui <Thomas_rainbowfish@icloud.com>

* 1.1.42

* Update version info to 1.1.42

* Update time and description of 1.1.42

* rel notes

Signed-off-by: Zhu Chenrui <Thomas_rainbowfish@icloud.com>

* Update time and description of 1.1.42

---------

Signed-off-by: Zhu Chenrui <Thomas_rainbowfish@icloud.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* fix the unpkg-cdn option (#447)

* Update sitemap-automation.yml

Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>

* Update sitemap-automation.yml

Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>

* Update sitemap-automation.yml

Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>

* Update Update.json

Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>

* fix unpkg cdn option

* 1.1.43

* Update version info to 1.1.43

---------

Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>
Co-authored-by: Shan Wenxiao <seanoj_noreply@yeah.net>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* regression! (#449)

* Update sitemap-automation.yml

Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>

* Update sitemap-automation.yml

Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>

* Update sitemap-automation.yml

Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>

* Update Update.json

Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>

* regression!

* 1.1.44

* Update version info to 1.1.44

---------

Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>
Co-authored-by: Shan Wenxiao <seanoj_noreply@yeah.net>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* add .editorconfig (#452)

* Update sitemap-automation.yml

Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>

* fix #400 + //ci-no-touch (#454)

* add .editorconfig

* fix #400 + add //ci-no-touch

* 1.1.45

* Update version info to 1.1.45

---------

Signed-off-by: Zhu Chenrui <Thomas_rainbowfish@icloud.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Update XMOJ.user.js

Signed-off-by: zhouyiqing0304 <94766918+zhouyiqing0304@users.noreply.github.com>

* Bump cicirello/generate-sitemap from 1.6.1 to 1.10.0

Bumps [cicirello/generate-sitemap](https://github.com/cicirello/generate-sitemap) from 1.6.1 to 1.10.0.
- [Release notes](https://github.com/cicirello/generate-sitemap/releases)
- [Changelog](https://github.com/cicirello/generate-sitemap/blob/master/CHANGELOG.md)
- [Commits](cicirello/generate-sitemap@v1.6.1...v1.10.0)

---
updated-dependencies:
- dependency-name: cicirello/generate-sitemap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Revert "Update XMOJ.user.js" (#461)

* fix //ci-no-touch (#462)

* add .editorconfig

* fix #400 + add //ci-no-touch

* 1.1.45

* Update version info to 1.1.45

* fix

* ...

---------

Signed-off-by: Zhu Chenrui <Thomas_rainbowfish@icloud.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Update to release 1.1.46 (#464)

* 1.1.46

* Update to release 1.1.46

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* rel notes!

* eek!

* remove //!ci-no-touch (#466)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* check!

---------

Signed-off-by: Zhu Chenrui <85378277+boomzero@users.noreply.github.com>
Signed-off-by: Shan Wenxiao <seanoj_noreply@yeah.net>
Signed-off-by: Zhu Chenrui <Thomas_rainbowfish@icloud.com>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: zhouyiqing0304 <94766918+zhouyiqing0304@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Shan Wenxiao <seanoj_noreply@yeah.net>
Co-authored-by: fossabot <badges@fossa.io>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: zhouyiqing0304 <94766918+zhouyiqing0304@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@PythonSmall-Q PythonSmall-Q mentioned this issue Feb 17, 2024
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants