Browser Object

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • sarmad.alsaiegh@googlemail.com

    Browser Object

    Hi,
    i hope u can help me. i need to indicate with javascript or php, which
    objects in the browser "IE, Mozilla etc" are deactivate.
    example:
    Popups Blocked, please activate the popups!

    the object what i need to indicate if they are deactivate are:
    Session Cache,
    Browser Name,
    Full Version,
    Cookies Enabled,
    Popups Blocked,
    Image Enabled,
    PNG Supported,
    Frames Supported,
    Iframes Supported,
    Adobe Acrobat Installed,
    Adobe Acrobat Version,
    Proxy Used,
    JavaScript Supported,
    JavaScript Enabled,
    JavaScript Version,
    JavaScript Build,
    Browser Date Time,

    thanks for ur support :)
    best wishes,
    sarmad
  • Michael Fesser

    #2
    Re: Browser Object

    ..oO(sarmad.als aiegh@googlemai l.com)
    >i hope u can help me. i need to indicate with javascript or php, which
    >objects in the browser "IE, Mozilla etc" are deactivate.
    >example:
    >Popups Blocked, please activate the popups!
    Such things shouldn't be of any interest to you, it's the decision of
    the browser and its user.
    >the object what i need to indicate if they are deactivate are:
    >Session Cache,
    not possible
    >Browser Name,
    >Full Version,
    unreliable (maybe with JS)
    >Cookies Enabled,
    JS or server-side (set cookie, redirect, check if cookie is there).
    >Popups Blocked,
    >Image Enabled,
    >PNG Supported,
    >Frames Supported,
    >Iframes Supported,
    should not be possible
    >Adobe Acrobat Installed,
    >Adobe Acrobat Version,
    JS
    >Proxy Used,
    unreliable
    >JavaScript Supported,
    JS, 'noscript'
    >JavaScript Enabled,
    >JavaScript Version,
    >JavaScript Build,
    >Browser Date Time,
    JS, but rather useless

    What are you trying to do, BTW? Most of these informations, if they can
    be gathered at all, are of no interest and of no real use for the web
    author.

    Micha

    Comment

    • Twayne

      #3
      Re: Browser Object

      Hi,
      i hope u can help me. i need to indicate with javascript or php, which
      objects in the browser "IE, Mozilla etc" are deactivate.
      example:
      Popups Blocked, please activate the popups!
      Wow! You actually want to write code that will ask people to do that
      sort of thing for all those?
      I mean no offense, but the list not only doesn't make sense, but as
      soon as a site tells ME I have to activate popups, I'm gone! It was the
      author's decision to try to force that on me, and it's my decision
      whether I'll allow it to happen or not. You wouldn't see my IP more
      than once, I'm afraid.

      FWIW; I suppose some would try, but I can't see many people putting up
      with that. If they have images blocked, they did it for a reason, etc.,
      etc.. Most people wouldn't know what to do about most of those anyway.

      Still no offense intended, please, understand I'm only sharing an
      opinion, but the other thing that makes me leave a site is anything
      covert going on. If I discover it and didn't authorize it, I'm gone
      again. It's my machine and I'm the only one to decide what happens on
      it.

      If you're PO'd, then sorry; just trying to enlighten you a little. I
      wouldn't exactly call those site enhancing moves. Even if this were
      meant as some sort of site-fixing or setup methodology, IMO it's still a
      terrible idea.

      So, just what is the intent of all that? I'm real curious, assuming
      it's a legit idea you have in mind. If not, forget it; I don't care.

      HTH


      >
      the object what i need to indicate if they are deactivate are:
      Session Cache,
      Browser Name,
      Full Version,
      Cookies Enabled,
      Popups Blocked,
      Image Enabled,
      PNG Supported,
      Frames Supported,
      Iframes Supported,
      Adobe Acrobat Installed,
      Adobe Acrobat Version,
      Proxy Used,
      JavaScript Supported,
      JavaScript Enabled,
      JavaScript Version,
      JavaScript Build,
      Browser Date Time,
      >
      thanks for ur support :)
      best wishes,
      sarmad


      Comment

      • Jerry Stuckle

        #4
        Re: Browser Object

        sarmad.alsaiegh @googlemail.com wrote:
        Hi,
        i hope u can help me. i need to indicate with javascript or php, which
        objects in the browser "IE, Mozilla etc" are deactivate.
        example:
        Popups Blocked, please activate the popups!
        >
        the object what i need to indicate if they are deactivate are:
        Session Cache,
        Browser Name,
        Full Version,
        Cookies Enabled,
        Popups Blocked,
        Image Enabled,
        PNG Supported,
        Frames Supported,
        Iframes Supported,
        Adobe Acrobat Installed,
        Adobe Acrobat Version,
        Proxy Used,
        JavaScript Supported,
        JavaScript Enabled,
        JavaScript Version,
        JavaScript Build,
        Browser Date Time,
        >
        thanks for ur support :)
        best wishes,
        sarmad
        >
        You can't do it in PHP. PHP is server side and has no idea what the
        browser has available or not.

        You could see if javascript is active with AJAX or similar, but
        otherwise you have to rely on a client-side language such as javascript
        to determine anything from the client side.

        Try comp.lang.javas cript.

        --
        =============== ===
        Remove the "x" from my email address
        Jerry Stuckle
        JDS Computer Training Corp.
        jstucklex@attgl obal.net
        =============== ===

        Comment

        • Curtis

          #5
          Re: Browser Object

          sarmad.alsaiegh @googlemail.com wrote:
          Hi,
          i hope u can help me. i need to indicate with javascript or php, which
          objects in the browser "IE, Mozilla etc" are deactivate.
          example:
          Popups Blocked, please activate the popups!
          Don't count on getting anyone to come to your site, if this is how you
          go about things.
          the object what i need to indicate if they are deactivate are:
          Session Cache,
          Browser Name,
          Full Version,
          If you're capable of writing decent JS, there's no reason you should
          need the build or version.
          Cookies Enabled,
          Popups Blocked,
          Image Enabled,
          PNG Supported,
          Frames Supported,
          Iframes Supported,
          Adobe Acrobat Installed,
          Adobe Acrobat Version,
          Proxy Used,
          JavaScript Supported,
          JavaScript Enabled,
          The <noscripttag offers content when JS is not available.

          Just as a side note, don't probe the browser's UA with JS, if you want
          to determine which features are available, you need to use the much
          more reliable object detection.
          JavaScript Version,
          JavaScript Build,
          Browser Date Time,
          >
          thanks for ur support :)
          best wishes,
          sarmad
          As stated before, most of this information is not retrievable in PHP,
          it only knows what the browser sends in the request headers. A lot of
          this information isn't retrievable in JS either. However, the majority
          of the information you want is quite irrelevant to the Web developer.

          --
          Curtis

          Comment

          Working...