如何在 Firefox 上打开“关于”地址?
How to open `about` addresses on Firefox?
我想用 AutoHotKey 在 Firefox 上打开 about
个地址,例如 about:config
、about:preferences
。使用:
f10::Run www.google.com
: 很好
f10::Run about:preferences
: Windows 问我: "You'll need a new app to open this about"
- "f10::Run
about:preferences
"(我不能嵌套“`”标记):AutoHotKey 说 "failed attempt to launch program or document"
使用 Send !to
只能用于 about:preferences
地址,VimFx 插件会认为密钥是给他们的。
尝试:
f9::Run % A_programfiles "\Mozilla Firefox\firefox.exe about:preferences"
A_ProgramFiles
is a built in variable containing the location of your Program Files directory. The above code could be written out in full like:
C:\Program Files\Mozilla Firefox\firefox.exe about:preferences
However if your drive letter is different, say D:\
instead of C:\
, A_ProgramFiles
will know this, and point to the correct location, as well it will differentiate between 64 bit OS versions and will point correctly to C:\Program Files (x86)\
我想用 AutoHotKey 在 Firefox 上打开 about
个地址,例如 about:config
、about:preferences
。使用:
f10::Run www.google.com
: 很好f10::Run about:preferences
: Windows 问我: "You'll need a new app to open this about"- "f10::Run
about:preferences
"(我不能嵌套“`”标记):AutoHotKey 说 "failed attempt to launch program or document"
使用 Send !to
只能用于 about:preferences
地址,VimFx 插件会认为密钥是给他们的。
尝试:
f9::Run % A_programfiles "\Mozilla Firefox\firefox.exe about:preferences"
A_ProgramFiles
is a built in variable containing the location of your Program Files directory. The above code could be written out in full like:
C:\Program Files\Mozilla Firefox\firefox.exe about:preferences
However if your drive letter is different, say
D:\
instead ofC:\
,A_ProgramFiles
will know this, and point to the correct location, as well it will differentiate between 64 bit OS versions and will point correctly toC:\Program Files (x86)\