0

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?

migrated from webapps.stackexchange.com Oct 28 '18 at 7:35

This question came from our site for power users of web applications.

  • 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 '18 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 '18 at 10:40
  • 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 '18 at 16:37
0

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.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.