4

For testing the print output during web development, I find myself frequently pressing Alt+F followed by V. That is, open "File" menu, then execute "Print preview".

This is cumbersome.

Is there a single keyboard-shortcut for that?

Or, is it possible to create a custom keyboard-shortcut for "Print preview" in Firefox?

In some browsers, this was possible via Ctrl+Shift+P, but nowadays this triggers private browsing instead.

Is there some lesser-known undocumented keyboard-shortcut for that? Or, does provide Firefox any means to configure this shortcut on my own?

3
  • There's no direct shortcut to print preview native to Firefox (if you display the menus, the shortcuts are shown in the menu if there is one). You could create your own shortcut, or figure out a workaround, like in your answer.
    – fixer1234
    Oct 28, 2018 at 8:28
  • @fixer1234 I improved my question to make clear that creating a custom keyboard-shortcut would also be in scope. So feel free to provide an answer explaining how to create a custom keyboard-shortcut, if you know how to do that in Firefox. (I have no idea and didn't find any hints in the MDN.)
    – vog
    Oct 29, 2018 at 10:40
  • 1
    Use any provision for binding key combinations. You've got the key sequence (Alt+F,V or F10, V). There are a bunch of add-ons to create a shortcut (e.g., addons.mozilla.org/en-US/firefox/addon/shortkeys, addons.mozilla.org/en-US/firefox/addon/vimium-ff, addons.mozilla.org/en-GB/firefox/addon/saka-key). I've never used one, so can't recommend. There are also things like AutoHotKey.
    – fixer1234
    Oct 29, 2018 at 16:37

1 Answer 1

4

I found a slightly shorter sequence: F10 followed by V. This works because "File" is the first menu.

However, this is still cumbersome and I'd love get to know about a real keyboard-shortcut.

1
  • 2
    Menu hotkeys do the job, but note that they're locale-specific. E.g. in Polish you'd need to type <kbd>F10</kbd>, <kbd>G</kbd>, or <kbd>Alt</kbd>+<kbd>P</kbd>, then <kbd>G</kbd>. Aug 6, 2019 at 9:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .