🏠 Home 

My Mouse Gestures

A simple mouse gesture script

< Feedback on My Mouse Gestures

Question/comment

§
Posted: 23-07-2024
Edited: 23-07-2024

最新版本的Chrome中无效, 版本 126.0.6478.182(正式版本) (64 位) , 所有网站均不生效,是不是contextmenu事件的周期发生变化了?

§
Posted: 24-07-2024
Edited: 24-07-2024

我的系统是Linux查了一下资料发现,chrome在windows和Linux下的mouseup 和 contextmenu的触发周期不一样。

详见:https://issues.chromium.org/issues/40935507

On Windows contextmenu pops up after mouseup. Here is the behavior on different browsers:

Chrome: mousedown, mouseup, auxclick, contextmenu

On Linux contextmenu pops up after mousedown. Here is the behavior on different browsers:

Chrome: mousedown, contextmenu Chrome with a very quick right click: mousedown, contextmenu, mouseup, auxclick (reason being that the event is already queued for the renderer and contextmenu window doesn't get a chance to consume that)

Post reply

Sign in to post a reply.