Talk About Network

Google





Mac > Mac Programmer > Re: Multiple Sa...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 15 Topic 955 of 1043
Post > Topic >>

Re: Multiple Safari versions installed ... possible ?

by Reinder Verlinde <reinder@[EMAIL PROTECTED] > Jul 23, 2007 at 06:23 PM

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
 




 15 Posts in Topic:
Multiple Safari versions installed ... possible ?
d d <dd_no_spam@[EMAIL  2007-07-23 17:44:39 
Re: Multiple Safari versions installed ... possible ?
TaliesinSoft <taliesin  2007-07-23 10:58:04 
Re: Multiple Safari versions installed ... possible ?
d d <dd_no_spam@[EMAIL  2007-07-23 18:22:59 
Re: Multiple Safari versions installed ... possible ?
Reinder Verlinde <rein  2007-07-23 18:23:27 
Re: Multiple Safari versions installed ... possible ?
d d <dd_no_spam@[EMAIL  2007-07-23 18:33:48 
Re: Multiple Safari versions installed ... possible ?
Reinder Verlinde <rein  2007-07-23 20:11:39 
Re: Multiple Safari versions installed ... possible ?
d d <dd_no_spam@[EMAIL  2007-07-23 20:19:11 
Re: Multiple Safari versions installed ... possible ?
Sherm Pendley <spamtra  2007-07-23 14:45:53 
Re: Multiple Safari versions installed ... possible ?
d d <dd_no_spam@[EMAIL  2007-07-23 20:56:16 
Re: Multiple Safari versions installed ... possible ?
Sherm Pendley <spamtra  2007-07-23 15:18:19 
Re: Multiple Safari versions installed ... possible ?
Warren Oates <warren.o  2007-07-23 18:07:43 
Re: Multiple Safari versions installed ... possible ?
Michael Ash <mike@[EMA  2007-07-23 18:46:00 
Re: Multiple Safari versions installed ... possible ?
Warren Oates <warren.o  2007-07-23 22:22:58 
Re: Multiple Safari versions installed ... possible ?
Michael Ash <mike@[EMA  2007-07-23 22:05:24 
Re: Multiple Safari versions installed ... possible ?
Barry Margolin <barmar  2007-07-30 19:58:40 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Wed Jan 7 19:29:36 PST 2009.