Path: csiph.com!2.eu.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 Newsgroups: comp.lang.javascript Subject: Re: Redirecting to a mobile site Date: Sun, 04 Dec 2016 20:23:41 +0100 Organization: PointedEars Software (PES) Lines: 18 Message-ID: <2644487.Wd4agf1tSC@PointedEars.de> References: <88e1893c-1452-4f95-80d5-b1636c17bd2c@googlegroups.com> Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Trace: solani.org 1480879421 24776 eJwNyskBwCAIBMCW5Fq0HAW2/xKSeU8YBJWOgAeDXOE5vOmrJkRfome/2yfFTtn0dqj+zYxOfCGWEQw= (4 Dec 2016 19:23:41 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Sun, 4 Dec 2016 19:23:41 +0000 (UTC) User-Agent: KNode/4.14.2 X-User-ID: eJwNy0kBwDAIBEBLEM7IAcL6l9DOf0ycfULdXA2Gg83y2dYQEXq0R6PvNeEWtqeV9NCaueDwvxbCepanVoAPVSQWJw== Cancel-Lock: sha1:5GcOy0U8TXktbk7MZaz62MMpxbs= X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. 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. -- PointedEars FAQ: | | Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.