Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #31768
| Path | csiph.com!2.us.feeder.erje.net!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail |
|---|---|
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: Redirecting to a mobile site |
| Date | Mon, 05 Dec 2016 13:16:10 +0100 |
| Organization | PointedEars Software (PES) |
| Lines | 28 |
| Message-ID | <1765990.oMNUckLgyt@PointedEars.de> (permalink) |
| References | <88e1893c-1452-4f95-80d5-b1636c17bd2c@googlegroups.com> <o1u76e$584$1@csiph.com> <2644487.Wd4agf1tSC@PointedEars.de> <o2321l$bki$1@csiph.com> |
| Reply-To | Thomas 'PointedEars' Lahn <cljs@PointedEars.de> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="UTF-8" |
| Content-Transfer-Encoding | 8Bit |
| X-Trace | solani.org 1480940171 28525 eJwFwQkBwDAIA0BLLSTA5PAU/xJ2R7Vr7TAauNzlm9KpJqT2w13rPFGTieNMhWTBHtNFgvEDOgARhA== (5 Dec 2016 12:16:11 GMT) |
| X-Complaints-To | abuse@news.solani.org |
| NNTP-Posting-Date | Mon, 5 Dec 2016 12:16:11 +0000 (UTC) |
| User-Agent | KNode/4.14.2 |
| Face | iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEXTxa4RFk5dUWANED8PFEfy7+MGBiW+n3ZNF/QuAAACaElEQVQ4jVXUwVOcMBQG8Dc7Rc4PUntdWV2uxjDpGaGeozOp1woar4jd5t/v9wLstMwsA/ntlxdCAgUc1hjTc9/JCZfGoo3wG3HdmdAWrIJRHe7GM/TmpY5VFefuVcAkkPbLIaN8rmPmjloyZxgyR3GuJ4K0AGtJ2htz8o7yqikm759fldQXaMpbDzjKAG+8v+AugVTOPO5D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t6/E2RSQpqa5zd+w8d4= |
| Xref | csiph.com comp.lang.javascript:31768 |
Show key headers only | View raw
Cezary Tomczyk wrote: > On 04/12/2016 20:23, Thomas 'PointedEars' Lahn wrote: >> Cezary Tomczyk wrote: >>> On 01/12/2016 18:42, bit-naughty@hotmail.com wrote: >>>> ...I've been to sites, where, if you're on a mobile device, it >>>> redirects you to say, m.site.com - how is this done? (the only >>>> knowledge *I* have regarding anything about this is "media queries" >>>> in CSS - and that doesn't explain the redirection....) >>> I've been using this way: >>> http://zerosixthree.se/detecting-media-queries-with-javascript/ >> Bad idea. > > Hm, interesting. What's wrong with that approach? Put simply, it does not work where it is required, and it is error-prone overkill where it is not required. Also, people could get the wrong idea of using the “innerHTML” property to replace or rewrite content, leaving parts of documents or whole documents unindexable while causing a user-unfriendly flash of content. <https://developers.google.com/webmasters/mobile-sites/mobile-seo/common-mistakes> pp. -- PointedEars FAQ: <http://PointedEars.de/faq> | <http://PointedEars.de/es-matrix> <https://github.com/PointedEars> | <http://PointedEars.de/wsvn/> Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread
Redirecting to a mobile site bit-naughty@hotmail.com - 2016-12-01 09:42 -0800
Re: Redirecting to a mobile site Philip Herlihy <thiswillbounceback@you.com> - 2016-12-01 19:46 +0000
Re: Redirecting to a mobile site Silvio <silvio@internet.com> - 2016-12-01 23:31 +0100
Re: Redirecting to a mobile site JJ <jj4public@vfemail.net> - 2016-12-02 22:38 +0700
Re: Redirecting to a mobile site Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-12-02 16:46 +0100
Re: Redirecting to a mobile site Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2016-12-03 11:35 +0100
Re: Redirecting to a mobile site Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-12-04 20:23 +0100
Re: Redirecting to a mobile site Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2016-12-05 07:38 +0100
Re: Redirecting to a mobile site Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-12-05 13:16 +0100
csiph-web