My Mouse Gestures

A simple mouse gesture script

< Feedback on My Mouse Gestures

प्रश्न/टिप्पणी

§
पोस्ट केले: 2024-07-23
संपादित केले: 2024-07-23

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

§
पोस्ट केले: 2024-07-24
संपादित केले: 2024-07-24

我的系统是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)

उत्तर पोस्ट करा

उत्तर पोस्ट करण्यासाठी साइन इन करा.