为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Start new window

  • 5 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 JBR_02

more options

Hello,

I have a MX3-L wireless airmouse/keyboard and would like to remap the Home button on it to a combination of keys. I want to use the Home button for starting a new window of Firefox (Ctrl+N). Default page for Firefox is google.com. If I press the Home button while the window is not focused it opens a new window. If I press the Home button while the window is focused on it goes to the default page. So if I'm on any other page other than the default, I loose it, which I don't want. This used to work properly in Win7, but fails in Win10.

I also have a Microsoft Ergo 4000 wired keyboard which has a Home button. The button can be remapped/disabled by the Microsoft Mouse and Keyboard Center. The default for the button is Start Web Browser. It behaves the same as the Home button on the airmouse. What I can do here is map the button so it starts a program. Setting it to start firefox.exe give me the result I want. Problem is this only affects the Microsoft keyboard.

Tried the following software: Key remapper Sharp keys Microsoft Keyboard Layout Creator Keyboard-layout-editor.com KeyTweak MapKeyboard Key Mapper Key extender

Some did not see the Home key at all, and even the ones that saw it did not work. The only one that could remap to combination of keys is Key remapper, but does not work properly: I make the change to remap Home to Ctrl+N. This reactivates the Home button on the keyboard, even If I have it disabled. Pressing the Home button on the airmouse opens a new window, but also sends the old to it's default.

Can I change the firefox instead of going home to open a new window?

Hello, I have a MX3-L wireless airmouse/keyboard and would like to remap the Home button on it to a combination of keys. I want to use the Home button for starting a new window of Firefox (Ctrl+N). Default page for Firefox is google.com. If I press the Home button while the window is not focused it opens a new window. If I press the Home button while the window is focused on it goes to the default page. So if I'm on any other page other than the default, I loose it, which I don't want. This used to work properly in Win7, but fails in Win10. I also have a Microsoft Ergo 4000 wired keyboard which has a Home button. The button can be remapped/disabled by the Microsoft Mouse and Keyboard Center. The default for the button is Start Web Browser. It behaves the same as the Home button on the airmouse. What I can do here is map the button so it starts a program. Setting it to start firefox.exe give me the result I want. Problem is this only affects the Microsoft keyboard. Tried the following software: Key remapper Sharp keys Microsoft Keyboard Layout Creator Keyboard-layout-editor.com KeyTweak MapKeyboard Key Mapper Key extender Some did not see the Home key at all, and even the ones that saw it did not work. The only one that could remap to combination of keys is Key remapper, but does not work properly: I make the change to remap Home to Ctrl+N. This reactivates the Home button on the keyboard, even If I have it disabled. Pressing the Home button on the airmouse opens a new window, but also sends the old to it's default. Can I change the firefox instead of going home to open a new window?

被采纳的解决方案

I found a solution with AutoHotKey.

Used this program: https://www.softpedia.com/get/System/System-Info/Keyboard-Test-Utility.shtml

The button for the Home/Web is listed as: VK Code: ACh (172) VK_BROWSER_HOME Scan Code: 00h (0) (Extended) For a split second the Scan Code is 32h (50), without Extended. This is the same for the keyboard and airmouse.

I was successful with this script: BROWSER HOME virtual key code is 0xAC VKAC::Run "C:\Program Files\Mozilla Firefox\Firefox.exe"

定位到答案原位置 👍 0

所有回复 (5)

more options

Those keyboard keys mapping is a O/S and keyboard driver settings. You have to make those changes there to affect the Browser in return.

more options

See also the "-new-window" command line switch:

more options

@cor-el I'm new at this, so I'm not sure how to use this. I can use Run to create a new window: "C:\Program Files\Mozilla Firefox\firefox.exe" -new-window

The problem is that I cannot map the Home button on the airmouse. When this is pressed (if I am in a Firefox web page focused) it takes me to the Homepage.

How do I change Firefox from instead of going to the Homepage to open a new window?

more options

Or can I change Firefox internally, instead of going to default page, to open a new window (with the default page)?

more options

选择的解决方案

I found a solution with AutoHotKey.

Used this program: https://www.softpedia.com/get/System/System-Info/Keyboard-Test-Utility.shtml

The button for the Home/Web is listed as: VK Code: ACh (172) VK_BROWSER_HOME Scan Code: 00h (0) (Extended) For a split second the Scan Code is 32h (50), without Extended. This is the same for the keyboard and airmouse.

I was successful with this script: BROWSER HOME virtual key code is 0xAC VKAC::Run "C:\Program Files\Mozilla Firefox\Firefox.exe"

由JBR_02于修改