Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

Menu title for Mac Share Sheet to create shortcut?

  • 4 trả lời
  • 1 gặp vấn đề này
  • 7 lượt xem
  • Trả lời mới nhất được viết bởi 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!
Đính kèm ảnh chụp màn hình

Giải pháp được chọn

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


Đọc câu trả lời này trong ngữ cảnh 👍 2

Tất cả các câu trả lời (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

Giải pháp được chọn

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.