Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


looking4awayout

[Experimental] The UOC Patch - An attempt at optimizing Mozilla based browsers for old machines, now for Macintosh too!

Recommended Posts

Posted (edited)

UPDATE! After getting a semi-vintage Mac Mini from 2006 running System 10.6.8 "Snow Leopard", I've been able to port the UOC Patch to the Macintosh. Installing the patch is as simple as doing it on Windows. You just unzip the patch and put the UOC_Patch_Mac.js file into the following folder:

Applications\[Browser folder]\Contents\Resources\Defaults\Pref

The UOC Enforcer for 38 ESR browsers is the version that must be used with the Macintosh one. You can install the Enforcer on the Macintosh by putting the user.js file in the following directory:

Macintosh HDD\Users\[Username]\Library\Application Support\[Browser Name]\Profiles\[Profile Name]\

In this way, you will have the UOC Patch + the Enforcer fully working even on your old Macintosh. Just like the Windows version, please test it on as many platforms as possible! I'm particularly interested to know how it performs on a PowerPC Macintosh, G4 and G5, and I'm curious to know how it would run on a G3 Power Macintosh (both the original iMac, the eMac and the beige G3 models), maybe it could even work with Classilla.

The patch is offered AS IS, and to the people who still haven't updated the Windows version, please do it now and do not forget to try the UOC Enforcer alongside the Patch, for better performance!

Edited by looking4awayout
  • Like 1

Share this post


Link to post
Share on other sites

On 7/11/2019 at 1:21 AM, looking4awayout said:

UPDATE! After getting a semi-vintage Mac Mini from 2006 running System 10.6.8 "Snow Leopard", I've been able to port the UOC Patch to the Macintosh. Installing the patch is as simple as doing it on Windows.

Neat! Snow Leopard is the Mac equivalent of XP (despite being contemporary with 7; both saw their initial RTM releases in mid 2009). Does this work with 45 as well, or is it limited to 38?

For late-model PowerPC Macs (Most fast G4s and all G5s), you want to target TenFourFox, whose latest version is forked from Firefox 45 (it lost source parity I think a couple years ago because there were some things that simply weren't portable). I think your script will be very helpful for that, as TFF is fairly decent, but it's configured as one-size-fits-most, so it could use some extra optimization, particularly on faster machines, to reach its full potential (it's extremely good as is, though!)

If you could also try testing your script with ArcticFox, that would be useful too, as that is supposed to be a fork of Pale Moon (akin to Roytam1's New Moon, but for early Intel Macs), and thus should be more or less compatible with your script as is, but should be tested for any Mac-specific peculiarities. I can try it out on my Mac, if you like, as I have ArcticFox installed on it.

Let's keep up the good work!!

c

  • Like 1

Share this post


Link to post
Share on other sites
Posted (edited)

It does work on Arctic Fox. I use it on my Mac Mini 1,1 and it does speed up the browser. I don't have any PowerPC Macintosh though, so I cannot test it in TenFourFox, as it doesn't run even with Rosetta installed.

Compatibility wise, the Macintosh version should run without issue on 45 ESR based browsers too. Would be interesting to see how it performs on high end G4 and G5s. I had a guy test the patch on G3 and low end G4 Power Macintoshes (including a G4 Powerbook), but the performance was very disappointing, mostly due to the slow graphics cards used, an ATI Rage 128 on the G3 and a Geforce 2 MX on the Powerbook, and the meager amount of RAM (128MB on the G3 and 256MB on the G4). A fast graphics card that is optimized for OpenGL is essential on the Macintosh, as well as on Linux, as well as having at least 768MB of RAM upwards.

Edited by looking4awayout

Share this post


Link to post
Share on other sites
On 4/3/2019 at 8:35 AM, looking4awayout said:

Installing the UOC Patch is a very easy process. Just go in your browser folder (C:\Program Files\Mozilla Firefox or Pale Moon or any other Mozilla based browser you use), then go in the "Defaults" then the "Pref" folder and extract the UOC_Patch38.js or UOC_Patch45.js you will find in their respective archive in the above folder and start the browser.

One little correction: the UOC Patch for FF 38-based browsers also applies to the K-Meleon browser, but you have to extract it into a different folder. Instead of <browser folder>\defaults\pref, for K-Meleon you should extract the patch into <browser folder>\browser\defaults\preferences.

Also, a note for those who have "hardened" their browser by disabling ciphers that don't offer "forward secrecy:" If you've done this, you won't be able to download the UOC Patch (or any files) from Mediafire, as their server doesn't provide any ciphers with forward secrecy. You'll get "no cipher overlap" message from your browser if you try. If this happens to you, I recommend you reset pref security.ssl3.rsa_aes_256_gcm_sha384 to true. It doesn't provide forward secrecy but is otherwise a very strong cipher and is supported by Mediafire.

  • Like 3

Share this post


Link to post
Share on other sites
Posted (edited)
On 7/25/2019 at 2:47 AM, Mathwiz said:

One little correction: the UOC Patch for FF 38-based browsers also applies to the K-Meleon browser, but you have to extract it into a different folder. Instead of <browser folder>\defaults\pref, for K-Meleon you should extract the patch into <browser folder>\browser\defaults\preferences.

Also, a note for those who have "hardened" their browser by disabling ciphers that don't offer "forward secrecy:" If you've done this, you won't be able to download the UOC Patch (or any files) from Mediafire, as their server doesn't provide any ciphers with forward secrecy. You'll get "no cipher overlap" message from your browser if you try. If this happens to you, I recommend you reset pref security.ssl3.rsa_aes_256_gcm_sha384 to true. It doesn't provide forward secrecy but is otherwise a very strong cipher and is supported by Mediafire.

Tips worthy of being in the 1st post, if l4ao agrees ;)

Edited by Vistaboy
  • Like 1

Share this post


Link to post
Share on other sites
Posted (edited)

Sure I do! Once I have enough time I will put it in the main post, alongside a little tip for people who experience choppy frame rates at 120 FPS, usually with an ATI Radeon X1950 Pro. While I developed the UOC Patch with an NVidia card (my overclocked 6800GT), now I got a Radeon X1950 Pro in my Tualatin, and I noticed that at 120 FPS, scrolling is quite choppy, almost as if the browser is running at 30 FPS. I will post the workaround in the next days, alongside "sticking" Mathwiz's workaround with Mediafire and disabled ciphers.

Work is keeping me quite busy lately so I had little time to post on the forum, and I apologize for that.

EDIT: I've added @Mathwiz's tip in the main post. If you experience choppy scrolling (which is unrelated to the stuttering issue I mentioned in the New Moon thread), you can try to set these two values in the about:config, in the way showed below:

layers.offmainthreadcomposition.frame-rate - 60

layout.frame_rate - 60

60 FPS seems to be the sweet spot on my Tualatin RDD with the X1950 Pro, while the 6800GT runs silky smooth at 120 FPS. I'm curious to see how much the upcoming Geforce 7800GS will fare. Hopefully, it should have way less overhead than the X1950 Pro since it uses Forceware 81.98, just like the 6800GT, but overclocks way more, from what I've read online.

Edited by looking4awayout
  • Like 2

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...