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:

webcat serving multiple copies of same db from ram (2000) problems with 2 tags (1997) template includes encrypted template (1999) Max Record length restated as maybe bug (1997) Looking to buy a WebDNA 6.0 license for Mac OS X Panther (2006) Loops and [index] (1998) Approved Carts (1999) Sizes/Colors Options (2006) Loosing Quantity (2000) Multiple Newcarts (1996) [SearchString] problem with [search] context (1997) error: Too many nested [xxx] contexts (1997) [showif [getcookie otherDomain]=yes] inside a [TCP connect] will work? (2000) Animation/Flash (2002) Erotic Sites (1997) WebCommerce: Folder organization ? (1997) relogin same user? (1998) color and size options / ARCHIVES (1997) Listfiles context (2000) Online reference (1997)