Using Leopard Webkit with other apps (Fluid apps, iCab, iTunes, etc)

Discussion in 'PowerPC Macs' started by grockk, Sep 19, 2013.

  1. grockk, Sep 19, 2013
    Last edited: Oct 9, 2013

    grockk macrumors 6502


    Mar 16, 2006
    Webkit on Leopard is old and not updated anymore. The Leopard Webkit project provides current builds of Webkit compatible with PPC Leopard and even started implementing some of the updated javascriptcore. To use this framework there is a droplet in the installer but doesn't work for some apps and doesn't work for Fluid apps specifically. I found a way to use the framework that has worked for every app I've tried.

    In terminal to make any apps use Webkit Nightly (in this example I use a Fluid SSB app called

    $ cd Applications/
    where is the name of the app for which you want to use Webkit Nightly.
    $ ls
    This will list the Unix executable for the application
    $ mv FluidInstance _FluidInstance
    where FluidInstance is the executable you found with ls
    $ vim FluidInstance
    In vim Press s Type or paste in the following:
    Where "FluidInstance" is the executable from the second step above

    Press Escape, then :w, then :q
    $ chmod a+x FluidInstance
    Credit goes to for the basic outline I adapted from how to do this for CSSEdit.
  2. Wildy macrumors 6502

    Jan 25, 2011
    Very nice find indeed, though I doubt many people 'round here appreciate the awesomeness of vim, so you might want to replace vim with nano ;)
  3. grockk thread starter macrumors 6502


    Mar 16, 2006
    I'm not that great at the terminal. Just know a few walkthroughs and that's the program the guy i linked to used. I wouldn't even know where to start with nano.

    also have another way to make programs use leopard webkit but it applies universally. The problem is some apps will crash but all you have to do is delete a single file instead of when you damage the system webkit by installing unstable leopard webkit using the install script like i've seen some people do on accident. Yikes.


    Instead of using the install shell script, I've found you can set the DYLD_FRAMEWORK_PATH envireonment variable to point to Webkit by using an environment.plist in ~\.MacOSX\ . You have to make the directory but putting the below in a plist in this directory will make it so all apps run using leopard Webkit unstable branch. Most apps are fine but I found some apps would crash and then choosing to restart the application it loads the built in frameworks and so is livable. anyways. Here is a copy of my environment.plist.
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
    <plist version="1.0">
    To reverse, just delete/rename the file and logout/reboot. This is nice as it affects everything, and is easy to reverse.

    In both of my methods here, if an app crashes, the crash reporter will offer to restart it and it loads without the leopard webkit this second time. So, much nicer than the install script, for system stability at least.
  4. MrPilot macrumors 6502

    Apr 30, 2013
    I tried the enviroment.plist method and it only crashes the fluid web app then making an

    Thread 10 Crashed:
    0 libobjc.A.dylib 0xfffeff18 objc_msgSend_rtp + 24
    1 ...uidapp.FluidInstance.iCloud 0x0001f8bc -[TODAppDelegate generateIcnsFile:] + 296
    2 0x92c4bd84 __NSThread__main__ + 1004
    3 libSystem.B.dylib 0x95436f70 _pthread_start + 316

    it doesn't render anything, and crashes within 5 seconds or less

    After the crash, it does seems to delete the framework used as it goes back to default, just like you said
  5. grockk, Oct 8, 2013
    Last edited: Oct 9, 2013

    grockk thread starter macrumors 6502


    Mar 16, 2006
    Found a better way to do this.

    First save the original executable like this (only type the $ lines)

    $ cd Applications/
    $ ls
    $ mv FluidInstance FluidInstance.orig
    Then create a shell script name FluidInstance in vim or whatever that looks like this.

    export DYLD_FRAMEWORK_PATH="/Applications/"
    exec "${0}.orig" "$@"
    Then chmod a+x it.

    The benefit is that it passes any arguments and loads plugins (like 1Password). It's also the same script for every app so you can literally copy and paste in Finder to do any app by doing the "Show Package Contents" and navigating to the above directory.

    You can use it for dashboard by going to
    Also seemed to fix all my issues with Woohoo.

    This was the clue that got me there.

Share This Page