Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Fungování této stránky je z důvodu údržby dočasně omezeno. Pokud žádný článek nápovědy nevyřeší váš problém a potřebujete se zeptat na další řešení, napište nám na Twitter @FirefoxSupport nebo Reddit /r/firefox.

Prohledat stránky podpory

Vyhněte se podvodům. Za účelem poskytnutí podpory vás nikdy nežádáme, abyste zavolali nebo poslali SMS na nějaké telefonní číslo nebo abyste sdělili své osobní údaje. Jakékoliv podezřelé chování nám prosím nahlaste pomocí odkazu „Nahlásit zneužití“.

Zjistit více

Menu title for Mac Share Sheet to create shortcut?

  • 4 odpovědi
  • 1 má tento problém
  • 7 zobrazení
  • Poslední odpověď od mythicsoul

more options

In Firefox on my Mac, I frequently click on the Page Actions ("three little dots") at the end of the URL bar, and then from the options that pop up, click on "Share" that takes me to the Mac Share Sheet options (Air Drop, Messages, Mail, etc.)

In Mac System Preferences for the keyboard, you can create keyboard shortcuts for any application, and I'd like to create one for this action in Firefox. I just need to know the menu pathway. For example, in Safari, it is "File->Share->[Air Drop, Messages, Mail, etc.]"

I cannot find/figure out the menu pathway in Firefox for the Mac Share Sheet. Can anyone help??

I've added screenshots of: 1) Accessing the Share Sheet in Firefox via the "three little dots" in the URL bar 2) The Mac System Preferences Keyboard Shortcuts creation window showing the menu pathway title I'm needing to figure out 3) The Share Sheet menu pathway in Safari for comparison/reference

TIA!

In Firefox on my Mac, I frequently click on the Page Actions ("three little dots") at the end of the URL bar, and then from the options that pop up, click on "Share" that takes me to the Mac Share Sheet options (Air Drop, Messages, Mail, etc.) In Mac System Preferences for the keyboard, you can create keyboard shortcuts for any application, and I'd like to create one for this action in Firefox. I just need to know the menu pathway. For example, in Safari, it is "File->Share->[Air Drop, Messages, Mail, etc.]" I cannot find/figure out the menu pathway in Firefox for the Mac Share Sheet. Can anyone help?? I've added screenshots of: 1) Accessing the Share Sheet in Firefox via the "three little dots" in the URL bar 2) The Mac System Preferences Keyboard Shortcuts creation window showing the menu pathway title I'm needing to figure out 3) The Share Sheet menu pathway in Safari for comparison/reference TIA!
Přiložené obrázky

Zvolené řešení

I assume that this Share menu is created dynamically via JavaScript and I don't think there is a real path to open/access this menu. Even going to the page action menu via the keyboard on Windows/Linux requires to access the location bar and then press the Tab key to jump to the page actions container. You can use the cursor Left/Right keys to navigate in this container and press Enter to activate an item or open a sub menu.

For "Send Tab to Device" I see these elements in the Browser Toolbox: Page Action menu: toolbarbutton#pageAction-panel-sendToDevice (ID); label="Send Tab to Device" Panel that opens if I click this item: panelview#pageAction-panel-sendToDevice-subview (ID) Body of this panel: vbox#pageAction-panel-sendToDevice-subview-body (ID) Device in this panel: toolbarbutton.pageAction-sendToDevice-device (class); label="<name of device>"


Přečíst dotaz v kontextu 👍 2

Všechny odpovědi (4)

more options

You might try BrowserPageActions, or "pageActionPanel" but i wouldn't know if the Mac keyboard macro thing is going to find it like a traditional menu - it isn't a menu with a menu ID, it's a "panel". If the same thing can turn up in a right-click context menu on the page, and a "menu" is required, then perhaps "pageActionContextMenu".

It may just be that you skip this, and add the actual menu item, which is "Share". (But it is listed as a panel item, not a menu item...) I do not have any "share" in my menu and checking the browser's chrome is a bit iffy as i am no expert. "BrowserPageActions.shareURL" could possibly cover it.

Maybe one of these will work. Otherwise, i would hope someone expert in the code and working of Firefox will answer.

more options

Zvolené řešení

I assume that this Share menu is created dynamically via JavaScript and I don't think there is a real path to open/access this menu. Even going to the page action menu via the keyboard on Windows/Linux requires to access the location bar and then press the Tab key to jump to the page actions container. You can use the cursor Left/Right keys to navigate in this container and press Enter to activate an item or open a sub menu.

For "Send Tab to Device" I see these elements in the Browser Toolbox: Page Action menu: toolbarbutton#pageAction-panel-sendToDevice (ID); label="Send Tab to Device" Panel that opens if I click this item: panelview#pageAction-panel-sendToDevice-subview (ID) Body of this panel: vbox#pageAction-panel-sendToDevice-subview-body (ID) Device in this panel: toolbarbutton.pageAction-sendToDevice-device (class); label="<name of device>"


more options

It does all look context-dependent and dynamically created, and no actual menu ids.

more options

Thank you both for your help! Too bad it turns out there's no way to make a keyboard shortcut for this. But I'm glad to know for certain one way or another.