HiDPI fullpage screenshots in Firefox

To take a fullpage screenshot in 2x resolution in Firefox. Open the Firefox Web Console and enter the following command:

:screenshot --fullpage --dpr 2

Visit the MDN documentation for more information and options.