|
Next: Using CFM with Mach-O on iMacs... or what cross p..
|
| Author |
Message |
External

Since: Jul 23, 2007 Posts: 7
|
(Msg. 1) Posted: Mon Jul 23, 2007 5:44 pm
Post subject: Multiple Safari versions installed ... possible ? Archived from groups: comp>sys>mac>apps, others (more info?)
|
|
|
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).
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. 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 ? 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.
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.
~dd |
|
| Back to top |
|
 |  |
External

Since: Jul 12, 2005 Posts: 753
|
(Msg. 2) Posted: Mon Jul 23, 2007 5:44 pm
Post subject: Re: Multiple Safari versions installed ... possible ? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Mon, 23 Jul 2007 10:44:39 -0500, d d wrote
(in article <f82id7$3mm$02$1@news.t-online.com>):
> 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?
My "gutsie" is to create three user accounts and install each of the three
versions on a separate account. I haven't researched whether or not this will
work, but trying it would be my first approach.
--
James Leo Ryan ..... Austin, Texas ..... taliesinsoft.TakeThisOut@mac.com |
|
| Back to top |
|
 |  |
External

Since: Nov 27, 2005 Posts: 462
|
(Msg. 3) Posted: Mon Jul 23, 2007 6:07 pm
Post subject: Re: Multiple Safari versions installed ... possible ? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
In article <f82id7$3mm$02$1@news.t-online.com>,
d d <dd_no_spam.RemoveThis@please.net> 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?
You could install them under 3 different users, and use fast switching
to move back and forth. Kludge, for sure, but it would probably work.
--
W. Oates |
|
| Back to top |
|
 |  |
External

Since: Jul 23, 2007 Posts: 7
|
(Msg. 4) Posted: Mon Jul 23, 2007 6:22 pm
Post subject: Re: Multiple Safari versions installed ... possible ? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
TaliesinSoft wrote:
> On Mon, 23 Jul 2007 10:44:39 -0500, d d 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?
> My "gutsie" is to create three user accounts and install each of the three
> versions on a separate account. I haven't researched whether or not this will
> work, but trying it would be my first approach.
That sounds like a plan. I'm gonna hold out a day or two for an
alternate solution because I have the mac set to auto-login to the only
user account and auto-run VNC. This allows me to control it remotely and
not have to connect it to a keyboard/mouse/monitor. I imagine if I have
3 accounts it might complicate my VNC situation.
~dd |
|
| Back to top |
|
 |  |
External

Since: Sep 19, 2005 Posts: 42
|
(Msg. 5) Posted: Mon Jul 23, 2007 6:23 pm
Post subject: Re: Multiple Safari versions installed ... possible ? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
In article <f82id7$3mm$02$1@news.t-online.com>,
d d <dd_no_spam.RemoveThis@please.net> 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 |
|
| Back to top |
|
 |  |
External

Since: Jul 23, 2007 Posts: 7
|
(Msg. 6) Posted: Mon Jul 23, 2007 6:33 pm
Post subject: Re: Multiple Safari versions installed ... possible ? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Reinder Verlinde wrote:
> d d <dd_no_spam DeleteThis @please.net> 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?
> You likely are using Safari 1.3 with the Webkit from Safari 2.0. That
> probably is not what you want.
> Embed the WebKit framework in the application.
Can you explain how I would do that? All I did to get this far was make
an archive of the Safari folder on the Mac that had 1.3 and take that
zip to the new Mac. I don't know where the webkit is living on that old
Mac, or how to embed it into that old Safari. I'm very much a noob when
it comes to the Mac world.
~dd |
|
| Back to top |
|
 |  |
External

Since: Mar 21, 2006 Posts: 164
|
(Msg. 7) Posted: Mon Jul 23, 2007 6:46 pm
Post subject: Re: Multiple Safari versions installed ... possible ? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
In comp.sys.mac.programmer.misc Warren Oates <warren.oates RemoveThis @gmail.com> wrote:
> In article <f82id7$3mm$02$1@news.t-online.com>,
> d d <dd_no_spam RemoveThis @please.net> 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?
>
> You could install them under 3 different users, and use fast switching
> to move back and forth. Kludge, for sure, but it would probably work.
No, it would not work.
You don't install Safari for a user, you install it on a system.
Installing from three different users will make no difference at all.
Safari is just a very thin shell around WebKit.framework which lives in
/System unless you're doing some non-obvious tricks. Any approach which
doesn't acknowledge this is bound to fail. There's a lot more than just
the .app at work.
--
Michael Ash
Rogue Amoeba Software |
|
| Back to top |
|
 |  |
External

Since: Sep 19, 2005 Posts: 42
|
(Msg. 8) Posted: Mon Jul 23, 2007 8:11 pm
Post subject: Re: Multiple Safari versions installed ... possible ? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
In article <f82l9c$9kq$02$1@news.t-online.com>,
d d <dd_no_spam.TakeThisOut@please.net> wrote:
> Reinder Verlinde wrote:
> > d d <dd_no_spam.TakeThisOut@please.net> 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?
Does 1.3 run on an intel Mac?
> > You likely are using Safari 1.3 with the Webkit from Safari 2.0. That
> > probably is not what you want.
> > Embed the WebKit framework in the application.
>
> Can you explain how I would do that? All I did to get this far was make
> an archive of the Safari folder on the Mac that had 1.3 and take that
> zip to the new Mac.
That is equivalent to archiving explore.exe on Windows, without
archiving the HTML control .dll, Javascript .dll, etc.
> I don't know where the webkit is living on that old
> Mac, or how to embed it into that old Safari. I'm very much a noob when
> it comes to the Mac world.
Read
<http://developer.apple.com/documentation/MacOSX/Conceptual/OSX_Technolog
y_Overview/index.html#//apple_ref/doc/uid/TP40001067>
and download the nightly Webkit build for an example of embedding
frameworks. I do not think this will be easy.
Or, go to <http://www.michelf.com/projects/multi-safari/>. It is the top
hit on <http://www.google.com/search?q=run+two+versions+of+safari>
In article <f82kl2$7b1$02$1@news.t-online.com>,
d d <dd_no_spam.TakeThisOut@please.net> wrote:
> TaliesinSoft wrote:
> > On Mon, 23 Jul 2007 10:44:39 -0500, d d 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?
> > My "gutsie" is to create three user accounts and install each of the three
> > versions on a separate account. I haven't researched whether or not this
> > will
> > work, but trying it would be my first approach.
>
> That sounds like a plan.
It is a plan, but I wouldbe surprised if it worked. To install/update
Safari, you will need administrative privileges. The installer will
overwrite the frameworks at /System/Library/Frameworks/WebKit.framework,
/System/Library/Frameworks/JavaScriptCore.framework, etc.
Reinder |
|
| Back to top |
|
 |  |
External

Since: Dec 12, 2006 Posts: 27
|
(Msg. 9) Posted: Mon Jul 23, 2007 8:11 pm
Post subject: Re: Multiple Safari versions installed ... possible ? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Reinder Verlinde <reinder.RemoveThis@verlinde.invalid> writes:
> In article <f82l9c$9kq$02$1@news.t-online.com>,
> d d <dd_no_spam.RemoveThis@please.net> wrote:
>
>> Reinder Verlinde wrote:
>> > d d <dd_no_spam.RemoveThis@please.net> 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?
>
> Does 1.3 run on an intel Mac?
If it runs on Tiger at all, I don't see any reason why it shouldn't run in
Rosetta.
>> Can you explain how I would do that? All I did to get this far was make
>> an archive of the Safari folder on the Mac that had 1.3 and take that
>> zip to the new Mac.
>
> That is equivalent to archiving explore.exe on Windows, without
> archiving the HTML control .dll, Javascript .dll, etc.
A very good analogy.
> Read
> <http://developer.apple.com/documentation/MacOSX/Conceptual/OSX_Technolog
> y_Overview/index.html#//apple_ref/doc/uid/TP40001067>
>
> and download the nightly Webkit build for an example of embedding
> frameworks. I do not think this will be easy.
If the only thing needed is to check web sites with various versions of
WebKit, then you don't need Safari.app for that. You could check out the
relevant versions of WebKit (I assume they tagged the release versions as
such in CVS) and build simple test browsers against them.
As you said, it probably won't be easy. But it would only need to be done
once and the results released on the 'net.
sherm--
--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net |
|
| Back to top |
|
 |  |
External

Since: Jul 23, 2007 Posts: 7
|
(Msg. 10) Posted: Mon Jul 23, 2007 8:19 pm
Post subject: Re: Multiple Safari versions installed ... possible ? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Reinder Verlinde wrote:
> Does 1.3 run on an intel Mac?
It certainly does. When I look at the properties of it, I see that it
identifies it as a PPC app and presumably switches to Rosetta mode.
> That is equivalent to archiving explore.exe on Windows, without
> archiving the HTML control .dll, Javascript .dll, etc.
> Read
> <http://developer.apple.com/documentation/MacOSX/Conceptual/OSX_Technolog
> y_Overview/index.html#//apple_ref/doc/uid/TP40001067>
>
> and download the nightly Webkit build for an example of embedding
> frameworks. I do not think this will be easy.
>
> Or, go to <http://www.michelf.com/projects/multi-safari/>. It is the top
> hit on <http://www.google.com/search?q=run+two+versions+of+safari>
Thanks, great links
> It is a plan, but I wouldbe surprised if it worked. To install/update
> Safari, you will need administrative privileges. The installer will
> overwrite the frameworks at /System/Library/Frameworks/WebKit.framework,
> /System/Library/Frameworks/JavaScriptCore.framework, etc.
> Reinder
Also good to know
~dd |
|
| Back to top |
|
 |  |
External

Since: Jul 23, 2007 Posts: 7
|
(Msg. 11) Posted: Mon Jul 23, 2007 8:56 pm
Post subject: Re: Multiple Safari versions installed ... possible ? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Sherm Pendley wrote:
>> Does 1.3 run on an intel Mac?
> If it runs on Tiger at all, I don't see any reason why it shouldn't run in
> Rosetta.
Well, I might have spoken too soon. Although the zip I made of PPC
Safari 1.3 and copied to my Intel Mac Mini appeared to work. It was no
doubt relying heavily on the newer webkit and wasn't really 1.3 at all.
It might have identified itself in About->Safari as 1.3, but that's
probably about as far as it went.
I saw on this link www.michelf.com/projects/multi-safari that the 1.3.x
Safari versions they have for download are marked as "don't work on
Tiger". These are ones that have the webkit embedded in them but don't
work anyway. I'm guessing that the 1.3.x webkit itself has some problem
running in Rosetta. So I'm probably outta luck on this one I guess.
~dd |
|
| Back to top |
|
 |  |
External

Since: Dec 12, 2006 Posts: 27
|
(Msg. 12) Posted: Mon Jul 23, 2007 8:56 pm
Post subject: Re: Multiple Safari versions installed ... possible ? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
d d <dd_no_spam.TakeThisOut@please.net> writes:
> I saw on this link www.michelf.com/projects/multi-safari that the
> 1.3.x Safari versions they have for download are marked as "don't work
> on Tiger". These are ones that have the webkit embedded in them but
> don't work anyway. I'm guessing that the 1.3.x webkit itself has some
> problem running in Rosetta.
They don't work on PPC Tiger either. Rosetta has nothing to do with it.
sherm--
--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net |
|
| Back to top |
|
 |  |
External

Since: Nov 27, 2005 Posts: 462
|
(Msg. 13) Posted: Mon Jul 23, 2007 10:22 pm
Post subject: Re: Multiple Safari versions installed ... possible ? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
In article <1185234360.750662.RemoveThis@nfs-db1.segnet.com>,
Michael Ash <mike.RemoveThis@mikeash.com> wrote:
> You don't install Safari for a user, you install it on a system.
> Installing from three different users will make no difference at all.
That's not what I meant. You install them system-wide, obviously, and
invoke them from three separate users.
--
W. Oates |
|
| Back to top |
|
 |  |
External

Since: Mar 21, 2006 Posts: 164
|
(Msg. 14) Posted: Mon Jul 23, 2007 10:22 pm
Post subject: Re: Multiple Safari versions installed ... possible ? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
In comp.sys.mac.programmer.misc Warren Oates <warren.oates RemoveThis @gmail.com> wrote:
> In article <1185234360.750662 RemoveThis @nfs-db1.segnet.com>,
> Michael Ash <mike RemoveThis @mikeash.com> wrote:
>
>> You don't install Safari for a user, you install it on a system.
>> Installing from three different users will make no difference at all.
>
> That's not what I meant. You install them system-wide, obviously, and
> invoke them from three separate users.
It still makes no difference. You can't install "them", since each
installation will completely overwrite the previous one. You'll end up
with one copy of Safari, one copy of WebKit, and three users all running
the exact same app and libraries.
Without resorting to dyld trickery like WebKit.app does, you can only use
one version of WebKit per system at a time. Even with dyld trickery, it
seems that WebKit 1.3 is a lost hope on 10.4.
--
Michael Ash
Rogue Amoeba Software |
|
| Back to top |
|
 |  |
External

Since: Apr 26, 2006 Posts: 292
|
(Msg. 15) Posted: Mon Jul 30, 2007 7:58 pm
Post subject: Re: Multiple Safari versions installed ... possible ? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
In article <1185234360.750662.RemoveThis@nfs-db1.segnet.com>,
Michael Ash <mike.RemoveThis@mikeash.com> wrote:
> In comp.sys.mac.programmer.misc Warren Oates <warren.oates.RemoveThis@gmail.com> wrote:
> > In article <f82id7$3mm$02$1@news.t-online.com>,
> > d d <dd_no_spam.RemoveThis@please.net> 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?
> >
> > You could install them under 3 different users, and use fast switching
> > to move back and forth. Kludge, for sure, but it would probably work.
>
> No, it would not work.
>
> You don't install Safari for a user, you install it on a system.
> Installing from three different users will make no difference at all.
>
> Safari is just a very thin shell around WebKit.framework which lives in
> /System unless you're doing some non-obvious tricks. Any approach which
> doesn't acknowledge this is bound to fail. There's a lot more than just
> the .app at work.
Isn't there an automatic search list for frameworks, that looks in
~/Library/Frameworks before /System/Frameworks? So maybe you could put
the old WebKit.framework in one user's ~/Library.
--
Barry Margolin, barmar.RemoveThis@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group *** |
|
| Back to top |
|
 |  |
| Related Topics: | Safari extension question - My company recently released an extension for IE and a FireFox (also Windows) version is in beta right now. I am very interested in releasing this tool for Safari as well, and while I have done some Mac development before, I haven't touched Safari..
Help fixing a web page in safari on mac 10.4.6 - Hi guys, I am not sure if this is the right group to post this question. If not, can someone please guide me to the right group. Still I am posting my question here, because this is urgent for me. I have a mac 10.3.9 and all the pages from our websit...
[BINDINGS] NSTableView vs. NSUserDefaultsController - I've already posted the following message to Apple's cocoa-dev mailing list, so if you subscribe to that list or are a regular reader of CocoaBuilder.com, you've already seen this. I'm posting here since I've appeared to have violated list..
Any tame MAC users out there ? - Hi all, could anyone tell me why the HTML generated from an XSL/XML merge would not display on an apple Mac. http://www.bedfords.co.uk/pages/search/search.asp (and just click "search") The page works fine on IE5,IE6, Mozilla and Firefox. Th...
[ANN] ADHOC/MacHack sessions announcement & the Transition.. - Apple is moving to Intel -- Don't Panic! Come to ADHOC and learn what developers need to do. Held in Dearborn, Michigan from July 27th through 31st (a little over a month after WWDC), ADHOC has always been focused on giving developers the edge when i... |
|
You can post new topics in this forum You can reply to topics in this forum You can edit your posts in this forum You can delete your posts in this forum You can vote in polls in this forum
|
|
|
|