Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #7949
| From | David Mark <dmark.cinsoft@gmail.com> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Yet another appeal for browser sniffing |
| Date | 2011-11-03 07:44 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <0fcdfa75-d35b-467a-aa75-0750b9f6bbad@r2g2000vbj.googlegroups.com> (permalink) |
| References | <9c4d4c63-0c94-45b7-bc4e-bfd1b7ac28ff@c16g2000pre.googlegroups.com> <4eb080a8$0$1715$742ec2ed@news.sonic.net> |
On Nov 1, 7:28 pm, "S.T." <a...@anon.com> wrote: > On 11/1/2011 4:42 AM, David Mark wrote: > > > > > "I am talking about drawImage, as example, in old Symbian browsers, > > where canvas is exposed but drawImage does not visually draw anything > > on the element ... nice, isn't it?" > > > If you can't test whether it drew anything, attempt to draw two > > identical images at the outset and let the user choose which one looks > > best. Then you can rightfully blame the user if they end up with empty > > images. > > lol Assuming feature detection/testing is impossible for this problem (which I doubt), this is the best you can do. Based on prior idiocy from your account, I assume you would prefer to sniff their UA string and wrongfully blame the user, browser vendor, etc. if they end up on the wrong page. Again, much better to show two maps (or whatever) at the outset and let the user choose which displays best for them. One click/tap is hardly an inconvenience, is it? Now, incompetently redirecting them to some other page...
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Yet another appeal for browser sniffing David Mark <dmark.cinsoft@gmail.com> - 2011-11-01 04:42 -0700
Re: Yet another appeal for browser sniffing Eric Bednarz <bednarz@fahr-zur-hoelle.org> - 2011-11-01 22:10 +0100
Re: Yet another appeal for browser sniffing Andrew Poulos <ap_prog@hotmail.com> - 2011-11-02 08:40 +1100
Re: Yet another appeal for browser sniffing Eric Bednarz <bednarz@fahr-zur-hoelle.org> - 2011-11-02 11:40 +0100
Re: Yet another appeal for browser sniffing "S.T." <anon@anon.com> - 2011-11-01 16:28 -0700
Re: Yet another appeal for browser sniffing Andrew Poulos <ap_prog@hotmail.com> - 2011-11-02 11:39 +1100
Re: Yet another appeal for browser sniffing David Mark <dmark.cinsoft@gmail.com> - 2011-11-03 07:44 -0700
Re: Yet another appeal for browser sniffing Bwig Zomberi <zomberiMAPSONNOSPAM@gmail.invalid> - 2011-11-03 10:14 +0530
Re: Yet another appeal for browser sniffing David Mark <dmark.cinsoft@gmail.com> - 2011-11-03 07:39 -0700
csiph-web