Tampermonkey / tampermonkey

Tampermonkey is the most popular userscript manager, with over 10 million users. It's available for Chrome, Microsoft Edge, Safari, Opera Next, and Firefox.
GNU General Public License v3.0
4.24k stars 418 forks source link

GM_registerMenuCommand keypress not working #2192

Open kalobkalob opened 2 weeks ago

kalobkalob commented 2 weeks ago

(Please fill out the issue template with your details)

Expected Behavior

Menu Item is made. Opening menu and pressing hotkey activates code.

Actual Behavior

Menu Item is made. Menu hotkey input is ignored.

Specifications

Safari 18.0.1 TM 5.3.6210 Mac OS 15.0.1

Script

// ==UserScript==
// @name         test
// @namespace    http://tampermonkey.net/
// @version      1
// @description  test.
// @author       You
// @match        https://*.fanfiction.net/*
// @icon         https://www.google.com/s2/favicons?domain=fanfiction.net

// @grant        GM_registerMenuCommand
Owyn commented 1 day ago

same with Firefox, no hotkeys work at all currently

FF: 131.0.3 TM: v5.3.1

Perhaps the latest fix for hotkeys in frames broke it?

derjanb commented 1 day ago

Perhaps the latest fix for hotkeys in frames broke it?

No, this was broken when working on a fix for #2113