Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #13128

Re: Browser Default Colors

Newsgroups comp.lang.javascript
Subject Re: Browser Default Colors
From "Evertjan." <exjxw.hannivoort@interxnl.net>
References <q0l9n79p2tteamk95li9013sa1scbsothl@4ax.com>
Message-ID <XnsA0265A04617ACeejj99@194.109.133.133> (permalink)
Date 2012-03-30 06:50 +0000

Show all headers | View raw


Dr.Kral wrote on 29 mrt 2012 in comp.lang.javascript:

> I would like to get the default colors used by a browser using ECMAScript
> from within the displayed page.
> 

In fact you are asking for DOM-functions, not for ECMA-script functions.

I cannot imagine why you would need to know the browser default colours as 
a web-page programmer. As a programmer you should set those colours 
yourself if you concerned if the view will be as you wish.

Perhaps you would need them to "steal" that information for your 
statistical needs?

Methinks that information, especially the dynamic colours of the <a>, are 
or should be hidden from the script under normal security-settings, as it 
is an improper way to measure the external links that are clicked.

-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Browser Default Colors Dr.Kral@nyc.rr.com - 2012-03-29 17:30 -0400
  Re: Browser Default Colors "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-03-30 06:50 +0000
    Re: Browser Default Colors Dr.Kral@nyc.rr.com - 2012-03-30 14:08 -0400
      Re: Browser Default Colors Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-03-30 20:59 +0200
  Re: Browser Default Colors Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-03-30 20:46 +0200
    Re: Browser Default Colors John G Harris <john@nospam.demon.co.uk> - 2012-03-31 11:49 +0100
      Re: Browser Default Colors "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-03-31 11:49 +0000
      Re: Browser Default Colors David Mark <dmark.cinsoft@gmail.com> - 2012-03-31 04:01 -0700
    Re: Browser Default Colors Dr.Kral@nyc.rr.com - 2012-03-31 08:47 -0400
  Re: Browser Default Colors David Mark <dmark.cinsoft@gmail.com> - 2012-03-29 18:22 -0700

csiph-web