konami-command
konami-command copied to clipboard
Event.path is deprecated and will be removed. Please use Event.composedPath() instead.
Hi,
While debuging my own usersript, I found this warning message in Chrome for Super Mind Control: Event.path is deprecated and will be removed. Please use Event.composedPath() instead.
Just wanted to let you know just in case you have something to do.
Best Regards, Smeulf.
Thank you I will check that!
Erh, @Smeulf.
It's strange, I'm apparently not using Event.path
, I didn't find it in any script?
Well, I looked at the script again and as you can't find it.
That's... Very strange. Maybe a bug in the Chrome debug console? I can get this warning only when that specific script is activated.
Sorry about that...
Cheers. Smeulf.
And the warning message (I don't see it), what script does it link to? And what line and row?
Undetermined unfortunately. The debug console is not able to point it out. I'm however certain it's related to that script or a dependency because I kept that script only before I created the issue.
When the script is disabled, the warning vanish.
I'm using Chrome+ Tampermonkey btw.
I'll have a look in the code again using Visual Studio Code that seems to highlight the deprecated code. Maybe it will help. Else then maybe it's just a false positive...
Thanks for your time but if you want to stop searching, no problem. 😉👍 Tampermonkey being closed source is not helpful in this case.