Re: [WebDNA] strip [browsername]

This WebDNA talk-list message is from

2016


It keeps the original formatting.
numero = 112893
interpreted = N
texte = 476 --Apple-Mail=_27D70A27-C443-4490-BA96-C3A7ABE95DC7 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Stephen I think that the only way is to do a string of showifs i.e. [ShowIf [BROWSER]^Firefox]FIREFOX[/ShowIf][ShowIf = [BROWSER]^Safari]SAFARI[/ShowIf] etc There are a number of JS methods but if you need to know the browser = before processing the file you will have to do some trickery. Kind regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au > On 23 Jul 2016, at 05:03, Stephen Braun wrote: >=20 > Hi All, >=20 > Does anybody have a way to strip down [browsername] of all the = details already written? >=20 > I want to be able to just see: Firefox > instead of : Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) = Gecko/20100101 Firefox/45.0 >=20 > Thanks much, > sfb >=20 >=20 >=20 > Stephen F Braun > sbraun1@twcny.rr.com > --------------------------------------------------------- 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=_27D70A27-C443-4490-BA96-C3A7ABE95DC7 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Stephen

I = think that the only way is to do a string of showifs i.e.

[ShowIf = [BROWSER]^Firefox]FIREFOX[/ShowIf][ShowIf = [BROWSER]^Safari]SAFARI[/ShowIf] etc

There are a number of JS methods but if = you need to know the browser before processing the file you will have to = do some trickery.

Kind regards

Stuart Tremain
IDFK Web = Developments
AUSTRALIA





On 23 Jul 2016, at 05:03, Stephen Braun <sbraun1@twcny.rr.com> wrote:

Hi All,

Does= anybody have a way to strip down  [browsername] of all the details = already written?

I want to be able to just see:   Firefox
instead of = :
Mozilla/5.0 = (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0 =

Thanks much,
sfb



Stephen F Braun
sbraun1@twcny.rr.com
--------------------------------------------------------- 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

= --------------------------------------------------------- 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=_27D70A27-C443-4490-BA96-C3A7ABE95DC7-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] strip [browsername] (Stuart Tremain 2016)
  2. [WebDNA] strip [browsername] (Stephen Braun 2016)
476 --Apple-Mail=_27D70A27-C443-4490-BA96-C3A7ABE95DC7 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Stephen I think that the only way is to do a string of showifs i.e. [ShowIf [BROWSER]^Firefox]FIREFOX[/ShowIf][ShowIf = [BROWSER]^Safari]SAFARI[/ShowIf] etc There are a number of JS methods but if you need to know the browser = before processing the file you will have to do some trickery. Kind regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au > On 23 Jul 2016, at 05:03, Stephen Braun wrote: >=20 > Hi All, >=20 > Does anybody have a way to strip down [browsername] of all the = details already written? >=20 > I want to be able to just see: Firefox > instead of : Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) = Gecko/20100101 Firefox/45.0 >=20 > Thanks much, > sfb >=20 >=20 >=20 > Stephen F Braun > sbraun1@twcny.rr.com > --------------------------------------------------------- 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=_27D70A27-C443-4490-BA96-C3A7ABE95DC7 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Stephen

I = think that the only way is to do a string of showifs i.e.

[ShowIf = [BROWSER]^Firefox]FIREFOX[/ShowIf][ShowIf = [BROWSER]^Safari]SAFARI[/ShowIf] etc

There are a number of JS methods but if = you need to know the browser before processing the file you will have to = do some trickery.

Kind regards

Stuart Tremain
IDFK Web = Developments
AUSTRALIA





On 23 Jul 2016, at 05:03, Stephen Braun <sbraun1@twcny.rr.com> wrote:

Hi All,

Does= anybody have a way to strip down  [browsername] of all the details = already written?

I want to be able to just see:   Firefox
instead of = :
Mozilla/5.0 = (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0 =

Thanks much,
sfb



Stephen F Braun
sbraun1@twcny.rr.com
--------------------------------------------------------- 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

= --------------------------------------------------------- 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=_27D70A27-C443-4490-BA96-C3A7ABE95DC7-- . Stuart Tremain

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:

Getting total number of items ordered (1997) Upgrade to 3.07 problems (2000) Cart questions (1997) OH CRAP!!!!!- Template not found error!!! (1999) Need help with emailer- 2 issues (1997) Friday night shopping site joke (1997) WebSTAR 2.1 freezes my Mac (1997) [] Boxes in Safari (2004) [WebDNA] testing (2014) Uniqueness of Cart number (2000) File Upload (1997) Authorize net woes (2003) Help name our technology! (1997) autosensing lanague selection (1997) syntax question, not in online refernce (1997) File Security (1999) Virtual hosting and webcatNT (1997) Kaaaaahhhhhhhnnnnnnn! (1997) BUG in [showif] using ^ (contains) (1997) Updating a database once per day - An example (1998)