Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Detect Mac Browser

by Cody Pendant (Prior)
on Oct 02, 2003 at 22:07 UTC ( [id://296108]=note: print w/replies, xml ) Need Help??


in reply to Detect Mac Browser

There is of course a module for browser detection.

For some reason I can't get to CPAN at the moment but it's there and it works well.

But please do tell us why you're trying to detect the operating system of your site's visitors? The site doesn't seem to be offering software, for a start.

I am not responcible if they have an odd ball, non standard Apple Browser.

  1. yes you are
  2. what on earth do you mean?



($_='kkvvttuubbooppuuiiffssqqffssmmiibbddllffss') =~y~b-v~a-z~s; print

Replies are listed 'Best First'.
Re: Re: Detect Mac Browser
by Arbogast (Monk) on Oct 03, 2003 at 01:19 UTC
    Why??? Because the customer of the person I am writing the code for wants it that way.
    The web address has nothing to do with anything except testing the CGI script.
      Why??? Because the customer of the person I am writing the code for wants it that way.
      That's never a valid reason. That's a bit like saying "I was just following orders", and you know where that goes.

      I cannot ethically help you in your quest without a better explanation. And I would recommend you consider that you cannot ethically complete your task without more justification from your "boss".

      Write standard HTML, and you don't have to worry what platform I'm on. Please. Please don't send me to "UPGRADE YOUR BROWSER" hell just because I'm on an operating system of my choice.

      -- Randal L. Schwartz, Perl hacker
      Be sure to read my standard disclaimer if this is a reply.

        Sorry if I offended.

        I don't have a boss per se. I am a gardener by trade, not a programmer.

        For whatever business reasons they have, they wish to send Mac Users one place, other people another. Nobody here wants to upgrade/change peoples browsers. I am confused as to the ethical implications here?

        Anyone wishes to educate me, try
        clmf8@yahoo.com
        Put something with Perl in title.
      odd ball, non standard browser = any browser that is uncommon on a Mac. Perhaps my language was poor, I did not mean to imply uncommon browsers were bad.
        Well that's why someone mentioned iCab. I don't know if your script detects iCab or not.

        But again, enquiring minds want to know the thinking behind this.

        For some reason you want to detect Mac users accessing your site. You want to send them to a different page. You think the best way to do that is to detect mac browsers.

        All very interesting, but what's the "for some reason" part?



        ($_='kkvvttuubbooppuuiiffssqqffssmmiibbddllffss') =~y~b-v~a-z~s; print

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://296108]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-24 20:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found