In article <f82id7$3mm$02$1@[EMAIL PROTECTED]
>,
d d <dd_no_spam@[EMAIL PROTECTED]
> wrote:
> I want to have Safari 1.3, 2.0 and 3.0 all installed on the same (Intel)
> Mac Mini. Does anyone else successfully have such a configuration?
>
> Here's what I've done so far.
>
> Firstly, the Mac Mini came with 2.0 already installed (Safari/419.3).
> That's what it shows when I do About -> Safari and is also what shows up
> when I alert navigator.userAgent from the address bar.
>
> What I did to get Safari 1.3, is I got access to an old Mac, made a zip
> archive of the Safari app folder, then downloaded it to my new Mac
> desktop. When I ran the app (from the desktop), OSX seemed to
> automatically realize it's a PPC app and do the right thing. When I do
> About -> Safari, it shows up properly as v1.3.2 (312.6). BUT, when I
> alert the userAgent string from the address bar, it shows 419.3 (from
> Safari 2).
You likely are using Safari 1.3 with the Webkit from Safari 2.0. That
probably is not what you want.
> It seems like both apps are sharing the same userAgent string. If I
> installed 3.0 now, then I imagine all 3 of them would show the same
> userAgent.
>
> I'm not sufficiently proficient on the Mac to figure out if there's
> anything I can do about this.
Embed the WebKit framework in the application.
> There doesn't seem to be profiles like
> there is with Firefox, and if there were then I don't know if it would
> solve the problem anyway.
>
> Any ideas? Other than having a bunch of batch files on my desktop which
> change the (global) Safari user agent string ?
That will not make you run the older Webkit.
> I could run the 1.3 batch
> file before I run the 1.3 app. Run the 2.0 batch file before I run the
> 2.0 Safari, etc etc. It's not ideal, but it's the only solution I can
> think of right now.
That probably will not work for testing web pages.
> If it helps, I only use this Mac for testing web pages. I don't need it
> to behave nicely as a default browser or anything like that.
You could use a nightly build of Webkit for testing with a 3.0-ish
version (<http://nightly.webkit.org/>).
If you want exactly what is in
the beta, you might be able to grab the sources from svn and build it
yourself.
Reinder


|