Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firefox 60 does not remember last window size and position. #117

Closed
StarPicard opened this issue May 12, 2018 · 11 comments
Closed

Firefox 60 does not remember last window size and position. #117

StarPicard opened this issue May 12, 2018 · 11 comments

Comments

@StarPicard
Copy link
Contributor

Hey, in the default profile there must be an option which causes problems with the size and last position of Firefox. I'm currently diving into it, but I would be very happy if someone has any suggestion.

Specific behavior: After generating a new profile everything just works fine. After implementing the options from prefs.js the last window size and position is not remembered after restart.

@allo-
Copy link
Owner

allo- commented May 12, 2018

Have a look if resistfingerprinting affects this. Choosing a default window size is a part of the tor browser and resistfingerprinting backports these features.

@StarPicard
Copy link
Contributor Author

Yep, that's the switch responsible for the behavior. Maybe it should be disabled by default because it might disturb some users. We could try to figure out the option it enables and then include them manual.
As i understand it it is not possible to keep this option and disable the window behavior.

@allo-
Copy link
Owner

allo- commented May 14, 2018

This is part of a much bigger issue, see https://github.com/allo-/firefox-profilemaker/issues/56#issuecomment-333397712 for a discussion about resistFingerprinting.

Resist Fingerprinting is able to replace a lot of the features here, but also overrides settings you want to change. For example you cannot override the useragent string when resistFingerprinting is active as it uses a default UA string.

@StarPicard
Copy link
Contributor Author

Mhm okay. seems to be a great deal, but for me it sounds very intransparent. I will disable it in my installs.

@allo-
Copy link
Owner

allo- commented May 14, 2018

I consider to disable it by default and add quite a bit of explanation.

@Atavic
Copy link

Atavic commented Dec 2, 2018

The browser's window size is used for fingerprinting. Moreover, Window innerWidth and innerHeight Property is used to define exactly which browser is used. This kind of fingerprinting is affecting Tor Browser (when not set to High Security Settings).

@allo-
Copy link
Owner

allo- commented Dec 2, 2018

Window size fingerprinting is a real issue even without javascript, see this CSS demo: https://www.parckwart.de/css_tracking

I think Mozilla or the Tor people may be working on it, looking for a solution like rounding to the next multiple of 100.

@Atavic
Copy link

Atavic commented Dec 2, 2018

CSS is implemented in the head section, then a css file is loaded: example

Workarounds:

  • use a local CSS file
  • block media queries in the head section: it's better to do it with a local proxy, but addons like HeaderEditor will do.

@allo-
Copy link
Owner

allo- commented Dec 2, 2018

I think the perfect tor setup is out of scope here and most people want sites to fit to their screen size.
The question here is if the profile should stick to resistFingerprinting by default or reproduce all (useful) parts of it as single settings.
See the comment linked above, resistFingerprinting is a nice one-click solution, but disables a lot of finetuning options.

@Atavic
Copy link

Atavic commented Dec 2, 2018

To remember window position resistFingerprinting should be deactivated.

@allo-
Copy link
Owner

allo- commented May 6, 2021

I close here. This is resistFingerprinting working as intended. One may want to disable resistsFingerprinting and use other settings, see #56.

@allo- allo- closed this as completed May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants