Firefox not remembering the last window size? This may fix it!
#1
Lightbulb 
Quote:
[Image: firefox-window-dimensions-fingerprinting.png]

Some months ago, I started to notice that the Firefox web browser was not remembering its window size when closed and reopened.

I usually run Firefox on one half of the screen on a 1920x1080 monitor on a Windows PC. Firefox would open and by doing so, change its window size so that a small gap was left at the bottom of the browser window and the Windows taskbar.

While it is easy enough to make the browser fit the space, e.g. by dragging its window to the left side of the monitor to have it expand automatically, it was something that left me puzzled.

It did not really bother me too much but when a user on Reddit pointed to a possible solution, I had to try it to see if the proposed solution would fix the issue on my end.

The user suggested that Firefox's fingerprinting protections had something to do with it. Firefox users can enable extra fingerprinting protection in the browser by changing a preference. Doing so blocks or mitigates certain fingerprinting techniques and data gathering methods.

One of the methods affects window dimensions; basically, what Firefox does is set windows to rounded dimensions automatically if the feature is enabled to mitigate fingerprinting techniques that read the window size.

I decided to give it a try to see if fingerprinting protection was enabled in the browser, and if turning it off would resolve the screen size issue.

Here is what I did:

1. Load about:config in the Firefox address bar.
2.Confirm that you will be careful if the warning message is displayed.
3. Search for privacy.resistFingerprinting. If the preference is set to True, the extra fingerprinting protection is enabled, if it is set to False, it is disabled.
4. If True, set it to False and restart Firefox.

The preference was set to True on the system. I changed its status to False and restarted Firefox. Firefox did remember the correct window dimensions this time when I restarted it, and further tests showed that the browser remembered the window dimensions each time I started it.
Continue Reading
[-] The following 1 user says Thank You to harlan4096 for this post:
  • silversurfer
Reply
#2
Great tip for who uses Firefox, thanks for posting harlan! Smile
[-] The following 1 user says Thank You to Deep900 for this post:
  • harlan4096
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Recent Posts
K-Lite Codec Pack 19.4.5 / 19.4.8 Update
Changes in 19.4.8 ...harlan4096 — 07:29
Antivirus Removal Tool 2026.02 (v.1)
An updated version...harlan4096 — 07:28
AMD suggests it may open-source FSR 4 a...
AMD still has nothin...harlan4096 — 17:21
Intel Arc G3 Panther Lake series for han...
Intel G3 with LPDD...harlan4096 — 07:32
Core Ultra 7 270K Plus and Ultra 5 250K...
Intel reportedly ‘ca...harlan4096 — 11:27

[-]
Birthdays
Today's Birthdays
avatar (41)svoyaEnuct
Upcoming Birthdays
avatar (47)hapedDow
avatar (46)komriwat
avatar (38)showercurtains
avatar (49)PeterWhink
avatar (50)neuthrusBub
avatar (30)script6027529171
avatar (46)myhotseeve
avatar (46)Edwinmub
avatar (46)dimaWeami
avatar (39)TranoTymn
avatar (39)MezirLal
avatar (50)listfquoto
avatar (46)dima6sarPrave
avatar (38)Michaelaburi
avatar (46)dpascoal
avatar (51)Ronaldduh
avatar (39)legalgauch
avatar (44)Baihu
avatar (27)RaseinsLikes

[-]
Online Staff
There are no staff members currently online.

>