hdu pinnacle刷题网站的优化脚本。
目前為 2023-06-16 提交的版本,檢視 最新版本。
這裡只顯示彼此間有代碼差異的版本。 顯示所有版本。
模拟更完整的鼠标事件序列
document.querySelectorAll('.select-row')
QWER
options[0], options[1], options[2], options[3]
innerText
simulateClick
mouseover
mousedown
mouseup
click
mouseout
updateElements()
MutationObserver
transform
e.preventDefault()
disabled
修复了按空格键无响应的bug