HighDots Forums  

Possible to detect Windows desktop style?

Javascript JavaScript language (comp.lang.javascript)


Discuss Possible to detect Windows desktop style? in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #21  
Old   
nobody@nowhere.net
 
Posts: n/a

Default Re: Possible to detect Windows desktop style? - 05-05-2008 , 06:23 PM






On Mon, 05 May 2008 05:43:20 GMT, rf <rf@x.invalid> wrote:

Quote:
All places *you* have ever worked. I'll bet the advertising corporations
have a few macks lying round.

I wonder how many other browsers get it wrong.

The spec calls for full functionality in IE and core functionality in
Firefox. No other browser mentioned.

Where in your original post did you say this. The only mention I see
about browsers is "Would prefer cross browser compatility" and I have
shown your solution the be not cross browser compatible.
Admittedly it was misleading. But then, for a mostly MS - IE only
guy, the phrase "Would be nice if this feature also worked in Firefox"
means cross-browser compatibility.
;-)
Quote:
What you persue will fail if I simply change my colour scheme. Your
"dialog" will *not* look like the rest of the stuff on my desktop.
Corporate users rearly even know how to customize the desktop;

How do you know that? I have known since Windows 3.1 how to do that and I
was a corporate user at that time.
You don't seem to be a plain vanilla corporate user. Think "bean
counter" or "sales rep" - these usually have no clue how to do it or
even if it's possible at all. I also happened to have been worked in
a few places where access to these facilities in Windows was disabled
for all but admins, and the only available screensaver was the
corporate logo.

Quote:
Anyway, if somebody has a
preference for some crazy mix of pink and green - that's none of my
business, they'll get a standard XP or Classic popup.

So why bother to distinguish between classic or not? Give them a dialog
that looks like the site, not the underlying operating system. Every time
I see something that looks like my operating system I instantly dismiss
it as advertising.
This app is ment only for the users who intended to get there, paid
for access rights, and they'd expect the popup screen to appear in
response to their actions (after all, that'll be put in the user
manual). But this is something to think of before applying this
technique to sites open to general public.

Anyway the hack that I posted does the job, and most importantly was
approved by the boss. Not that I like to base the logic on some
display quirks, but there's nothing else to go by, and it seems to
work reliably on all target systems.

NNN




Reply With Quote
  #22  
Old   
nobody@nowhere.net
 
Posts: n/a

Default Re: Possible to detect Windows desktop style? - 05-05-2008 , 07:51 PM






On Sun, 4 May 2008 22:58:32 -0700 (PDT), Jorge
<jorge (AT) jorgechamorro (DOT) com> wrote:

Quote:
On May 5, 6:25*am, "nob... (AT) nowhere (DOT) net" <mygarbage2... (AT) hotmail (DOT) com
wrote:
*Besides, I don't
have a Mac to test it on Safari and have no plans to buy one

Safari is a free download for Windows XP and Vista: http://apple.com/safari

--Jorge.
OMG, Steve Jobs finally made another piece of brilliant Apple
engineering available to us lowly slaves of evil Bill Gates!

Jokes aside, I will install anything Apple branded only if I really
_have to_ - or if somebody pays me real money to do so. I will never
forget how their piece of $h!t quicktime forced me to reinstall
Windows a while ago to get rid of it. I don't care if they simply
screwed up or ment to demonstrate how prone was Windows to BSOD and
how bad it was comparing to their then latest and greatest os9 - I'm
just not using their crap period.

NNN



Reply With Quote
  #23  
Old   
Thomas 'PointedEars' Lahn
 
Posts: n/a

Default Re: Possible to detect Windows desktop style? - 05-06-2008 , 01:46 PM



nobody (AT) nowhere (DOT) net wrote:
Quote:
[...] I will install anything Apple branded only if I really
_have to_ - or if somebody pays me real money to do so. I will never
forget how their piece of $h!t quicktime forced me to reinstall
Windows a while ago to get rid of it. I don't care if they simply
screwed up or ment to demonstrate how prone was Windows to BSOD and
how bad it was comparing to their then latest and greatest os9 -
You are not thinking clearly enough to realize that it might have been
your fault. QuickTime never broke anything on my Wintel platforms.

Quote:
I'm just not using their crap period.
Not using a well-known user agent for everyday navigation is a personal
choice; not testing on a well-known user agent is a stupid choice.


PointedEars
--
realism: HTML 4.01 Strict
evangelism: XHTML 1.0 Strict
madness: XHTML 1.1 as application/xhtml+xml
-- Bjoern Hoehrmann


Reply With Quote
  #24  
Old   
Jorge
 
Posts: n/a

Default Re: Possible to detect Windows desktop style? - 05-07-2008 , 07:36 AM



On May 6, 2:51*am, "nob... (AT) nowhere (DOT) net" <mygarbage2... (AT) hotmail (DOT) com>
wrote:
Quote:
On Sun, 4 May 2008 22:58:32 -0700 (PDT), Jorge wrote:
On May 5, 6:25*am, "nob... (AT) nowhere (DOT) net" <mygarbage2... (AT) hotmail (DOT) com
wrote:
*Besides, I don't
have a Mac to test it on Safari and have no plans to buy one

Safari is a free download for Windows XP and Vista:http://apple.com/safari

OMG, Steve Jobs finally made another piece of brilliant Apple
engineering available to us lowly slaves of evil Bill Gates!
(...)
I'm just not using their crap period.
That's not that "I don't have a Mac to test it on Safari", as you
said.
FYI : IEs marketshare is shrinking fast and steadily.

--Jorge.


Reply With Quote
  #25  
Old   
Jorge
 
Posts: n/a

Default Re: Possible to detect Windows desktop style? - 05-07-2008 , 07:47 AM



Quote:
FYI : IEs marketshare is shrinking fast and steadily.
Shrinking even with dirty tricks like these : (Microsoft : "This behavior is
by design")

<http://www.bazon.net/mishoo/articles.epl?art_id=958>

--Jorge.


Reply With Quote
  #26  
Old   
Thomas 'PointedEars' Lahn
 
Posts: n/a

Default Re: Possible to detect Windows desktop style? - 05-07-2008 , 04:55 PM



The Magpie wrote:
Quote:
nobody (AT) nowhere (DOT) net wrote:
On Mon, 05 May 2008 03:02:08 GMT, rf <rf@x.invalid> wrote:
Seamonkey gets it wrong. Safari gets it wrong.
These browsers extremely rearly, if ever, are used in corporate
environment - and corp is the targeted audience.

Wrong. Seamonkey is *the* most commonly used - and it is not a
browser, it is the Javascript engine.
You are confused.

SeaMonkey is now the name of a project and application suite maintained by
non-mozilla.org contributors as a continuation of the Mozilla Suite,
previously codenamed SeaMonkey, which has been abandoned by mozilla.org in
favor of the newer and cleaner XUL-based codebase used by Firefox and
Thunderbird, among other standalone applications.

The codename of the JavaScript reference implementation in C that is used by
and is available in all Gecko-based user agents, on the other hand, is
_SpiderMonkey_.

http://en.wikipedia.org/wiki/SeaMonkey
http://en.wikipedia.org/wiki/SpiderMonkey

Quote:
The spec calls for full functionality in IE and core functionality
in Firefox.

And Firefox uses Seamonkey.
It does not, as little as MSIE uses Opera.


PointedEars
--
Anyone who slaps a 'this page is best viewed with Browser X' label on
a Web page appears to be yearning for the bad old days, before the Web,
when you had very little chance of reading a document written on another
computer, another word processor, or another network. -- Tim Berners-Lee


Reply With Quote
  #27  
Old   
Thomas 'PointedEars' Lahn
 
Posts: n/a

Default Re: Possible to detect Windows desktop style? - 05-10-2008 , 04:24 AM



The Magpie wrote:
Quote:
Thomas 'PointedEars' Lahn wrote:
You are confused.

I was not aware of the Seamonkey change.
The change does not matter. The JavaScript Reference implementation in C
was never called SeaMonkey. Had you quoted properly, you would have known.

Quote:
That may also be true of the original comment about it though.
You are not making sense.


PointedEars
--
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
-- Richard Cornford, cljs, <f806at$ail$1$8300dec7 (AT) news (DOT) demon.co.uk>


Reply With Quote
  #28  
Old   
Andreas M.
 
Posts: n/a

Default Re: Possible to detect Windows desktop style? - 06-02-2008 , 07:42 PM



On 06.05.2008 01:02 nobody (AT) nowhere (DOT) net wrote

Quote:
Thanks but...
Most corporate IT or users with at least a bit of brain disable
activex - and I quite understand why. ActiveX are not only security
threat, but also a source of all sort of instability, and also
bandwidth hoggers, and so on and on and on. In other words, for this
project it's not an option.
You mean like:
var http = new ActiveXObject("Microsoft.XMLHTTP");
?

Or not using any MSXML DOM objects from Javascript?

Tsts...why do they use a modern operating system at all then? ;-)

I would say the contrary: Users with at least a little bit of brain
don't fall for the panic-hype and know how to configure and use their
systems correctly, regarding ActiveX.

Besides, most ActiveX objects for ordinary tasks come already
pre-installed with WindowsXP.

--
Bye,
Andreas M.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.