youdaodict

Translate any text selected into a tooltip

< Feedback op youdaodict

Vraag/Reactie

§
Geplaatst: 28-04-2016

能不能做个非空判断?

当点击一个链接发生跳转的时候,document.getSelection().anchorNode就会是null,因为没有非空判断,脚本第40行就会出错。

reverlandMaker
§
Geplaatst: 10-10-2016

已更新

Reactie plaatsen

Log in om antwoord te geven.