Fx 102.11 ESR (Tor Browser) Print-Preview Size

User Help for Mozilla Firefox
Post Reply
CBA
Posts: 233
Joined: June 16th, 2008, 2:08 am

Fx 102.11 ESR (Tor Browser) Print-Preview Size

Post by CBA »

Whereas I use Firefox 91.13 ESR as my default (http://forums.mozillazine.org/viewtopic ... &t=3105297), the current Tor Browser is based on Firefox 102.11 ESR using the Edge-Chrome style print preview. Which I don't care for...

But, for Tor Browser, that's the way it is. Is there a way to expand the size of the "print-preview" window by CSS code or about:config or whatever? I seem to recall a fix somewhere, but I can't find it. TIA.
morat
Posts: 6405
Joined: February 3rd, 2009, 6:29 pm

Re: Fx 102.11 ESR (Tor Browser) Print-Preview Size

Post by morat »

Try the following style in Firefox 102.

Menu Bar > File > Print

Code: Select all

.dialogBox[sizeto="available"] {
  margin-top: unset !important; /* remove dialog overlap */
  max-width: unset !important;
  max-height: unset !important;
  border-radius: unset !important; /* remove rounded corners */
}
Reference
http://searchfox.org/mozilla-esr102/sou ... rowser.css
CBA
Posts: 233
Joined: June 16th, 2008, 2:08 am

Re: Fx 102.11 ESR (Tor Browser) Print-Preview Size

Post by CBA »

Thanks! Your code may well work fine with a regular Fx 102.xx, but Tor is a bit special when it comes to screen size (to prevent fingerprinting). I'm not sure if this is relevant to the print-preview size .. probably not, however, I would have to look into that too.

At any rate, I use Tor with an Eizo 1280x1024 monitor (legacy, but I love that size) and the best setting for same I have found to be this:

Code: Select all

.dialogBox[sizeto="available"] {
  margin-top: unset !important; /* remove dialog overlap */
  max-width: unset !important;
  max-height: 810px !important;
  border-radius: unset !important; /* remove rounded corners */
}
I had to adjust max-height to 810px as "unset" cut off the lower part of the print-preview .. including "Print" and "Cancel". Regardless, much better than w/o your style code.

Again, thanks morat! Good show...

Background on Tor screen size: https://support.torproject.org/tbb/maxi ... er-window/
Post Reply