[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:

Math (1997) [WebDNA] Auction (2009) version 2 for NT (1997) WebCat b13 CGI -shownext- (1997) [sendmail] questions... (1997) MacAuthorize hub, no modal password dialog? (1997) WebCat2b15MacPlugIn - [authenticate] not [protect] (1997) [OT] Getting a domain listening on port 443 and port80? (2003) [SearchString] problem with [search] context (1997) Price + Texte (1999) BUG in [showif] using ^ (contains) (1997) protect tag on NT IIS (1997) Bug? (1997) Locking up with WebCatalog... (1997) [WebDNA] How to use attachment with sendmail (2020) Loop weirdness (2003) Encrypted items in DB (2001) OT - royalty free images (2002) WebDNA5 & Tiger (2006) Permission denied? (2004)