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

10.8 Optimization Notes #22

Open
elephunkrobitandsuch opened this issue Nov 25, 2024 · 3 comments
Open

10.8 Optimization Notes #22

elephunkrobitandsuch opened this issue Nov 25, 2024 · 3 comments

Comments

@elephunkrobitandsuch
Copy link

elephunkrobitandsuch commented Nov 25, 2024

Not an issue, but 3 optimizations I've had success with on Intel machines running 10.8.5:

  1. Sometimes when typing in the address bar or other input fields, the first letter is invisible, and then appears after the second letter is typed. This is fixed by going into about:config and setting "layers.acceleration.disabled" to "TRUE"

  2. Printing was causing a crash. This was resolved by changing "print.prefer_system_dialog" to TRUE

  3. Gmail web browser has a few oddities, which are resolved by going into about:config and doing a "general.useragent.override" and change the useragent to coincide with your OS. For example, running Mountain Lion I changed it from "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:133.0) Gecko/20100101 Firefox/133.0" to Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5; rv:133.0) Gecko/20100101 Firefox/133.0"

**And just an added thank you to i3roly for his amazing work on this project.

@Wowfunhappy
Copy link

Wowfunhappy commented Nov 28, 2024

Gmail web browser has a few oddities, which are resolved by going into about:config and doing a "general.useragent.override" and change the useragent to coincide with your OS. For example, running Mountain Lion I changed it from "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:133.0) Gecko/20100101 Firefox/133.0" to Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5; rv:133.0) Gecko/20100101 Firefox/133.0"

Wat.

I wonder what is happening on gmail's side for this to work. There must be some legacy code in gmail from a decade ago which was originally added to workaround a bug in Firefox under Mountain Lion—and apparently when modern Firefox is back-ported to Mountain Lion it still hits that bug! But, Google's workaround is still present in gmail's code, if you activate it by changing the user agent.

I have nothing productive to add, I just think this situation is absolutely wild! Wow!

Note that AIUI all major browsers have frozen the user agent string for privacy reasons, ie if you're using upstream Firefox on any version of macOS (whether newer or older than macOS Catalina), the OS in your user agent string will be "Intel Mac OS X 10.15". So, the right solution is probably not for Firefox Dynasty to break from that policy and list the real operating system. But, maybe there could be a WebCompat add-on. There are already lots of UA overrides built into Firefox: https://github.com/mozilla-extensions/webcompat-addon/blob/main/src/data/ua_overrides.js

@RJVB
Copy link

RJVB commented Nov 28, 2024 via email

@Wowfunhappy
Copy link

Disclosing your OS version is a privacy concern nowadays?

It's fingerprinting related.

I can't seem to find any Firefox-centric announcements but here is one for Chrome, I assume Firefox is going down a similar path here. https://developers.google.com/privacy-sandbox/blog/user-agent-reduction-android-model-and-version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants