[WebDNA] WebDNA code to detect mobile browsing

This WebDNA talk-list message is from

2016


It keeps the original formatting.
numero = 112985
interpreted = N
texte = 572 --Apple-Mail=_0C5F768F-C41D-4C57-A0FF-E44AEBB0FDA4 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Did anyone here have some spare code to detect differentiate mobile = browsing from desktop browsing based on MimeHeaders ? I need to create a variable like Mobile=3Dy/n in my TMPL files so the = page will change accordingly. Does the User Agent is the only MimeHeader that need to be considered ? Yours, Yariv Nachshon www.plonter.co.il --Apple-Mail=_0C5F768F-C41D-4C57-A0FF-E44AEBB0FDA4 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii Did anyone here have some spare code to detect differentiate mobile browsing from desktop browsing based on MimeHeaders ?
I need to create a variable like Mobile=y/n in my TMPL files so the page will change accordingly.
Does the User Agent is the only MimeHeader that need to be considered ?


Yours,

Yariv Nachshon
www.plonter.co.il


--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us --Apple-Mail=_0C5F768F-C41D-4C57-A0FF-E44AEBB0FDA4-- . Associated Messages, from the most recent to the oldest:

    
  1. [WebDNA] WebDNA code to detect mobile browsing (Yariv Nachshon 2016)
572 --Apple-Mail=_0C5F768F-C41D-4C57-A0FF-E44AEBB0FDA4 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Did anyone here have some spare code to detect differentiate mobile = browsing from desktop browsing based on MimeHeaders ? I need to create a variable like Mobile=3Dy/n in my TMPL files so the = page will change accordingly. Does the User Agent is the only MimeHeader that need to be considered ? Yours, Yariv Nachshon www.plonter.co.il --Apple-Mail=_0C5F768F-C41D-4C57-A0FF-E44AEBB0FDA4 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii Did anyone here have some spare code to detect differentiate mobile browsing from desktop browsing based on MimeHeaders ?
I need to create a variable like Mobile=y/n in my TMPL files so the page will change accordingly.
Does the User Agent is the only MimeHeader that need to be considered ?


Yours,

Yariv Nachshon


--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us --Apple-Mail=_0C5F768F-C41D-4C57-A0FF-E44AEBB0FDA4-- . Yariv Nachshon

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

[WebDNA] Probably a stupid question but... (2009) My URL, Your URL (2002) Updating database (1998) WebCatalog/WebMerchant 2.1 (1998) suffix mapping for NT? (1997) Nesting format tags (1997) Problems appending to database (1997) OT- AS/400 and Macs (2003) Grep to convert characters to html entities (2006) Extended [ConvertChars] (1997) multi-paragraph fields (1997) WC2f3 (1997) Trouble with formula.db + more explanation (1997) shipcost (1997) shipping calculations, lookup command (1997) Real Audio files (1997) Re(2): SSL, WebSTAR, WebCatalog (1998) form data submission gets truncated (1997) anyone know how to restart dbserver on NT automatically (1999) WebCat2b12plugin - [search] is broken ... not! (1997)