This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Cari Bantuan

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Pelajari Lebih Lanjut

Menu title for Mac Share Sheet to create shortcut?

  • 4 balas
  • 1 memiliki masalah ini
  • 7 kunjungan
  • Balasan terakhir oleh 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!
Lampiran tangkapan layar

Solusi terpilih

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>"


Baca jawaban ini dalam konteks 👍 2

Semua Balasan (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

Solusi Terpilih

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.