Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Browser detection

Browser detection

Scheduled Pinned Locked Moved ASP.NET
javascriptquestion
6 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kibromg
    wrote on last edited by
    #1

    Hi all, What function in javascript will enable to to detect browser? Like wheather the browser is IE,Firefox,NetScape,Opera.... Thanks

    J P 2 Replies Last reply
    0
    • K kibromg

      Hi all, What function in javascript will enable to to detect browser? Like wheather the browser is IE,Firefox,NetScape,Opera.... Thanks

      J Offline
      J Offline
      John ph
      wrote on last edited by
      #2

      Navigator Object[^]

      Regards
       - J O H N -


      1 Reply Last reply
      0
      • K kibromg

        Hi all, What function in javascript will enable to to detect browser? Like wheather the browser is IE,Firefox,NetScape,Opera.... Thanks

        P Offline
        P Offline
        Phil Osborne
        wrote on last edited by
        #3

        If you want to use Javascript this should do it although their are other methods using ASP.NET: <!-- function whichname() { var bname = navigator.appName; alert("You are using " + bname); } //-->

        Hydraman says "Make mine a water"

        K 1 Reply Last reply
        0
        • P Phil Osborne

          If you want to use Javascript this should do it although their are other methods using ASP.NET: <!-- function whichname() { var bname = navigator.appName; alert("You are using " + bname); } //-->

          Hydraman says "Make mine a water"

          K Offline
          K Offline
          kibromg
          wrote on last edited by
          #4

          Thanks I have a real media player embeded pluginn in my HTML page.It opens fine On Internet Explorer.However When i open it in Firefox it become very small in size. Do i have to code the plaginn for each browser diffrently. Please advice Thanks

          P 1 Reply Last reply
          0
          • K kibromg

            Thanks I have a real media player embeded pluginn in my HTML page.It opens fine On Internet Explorer.However When i open it in Firefox it become very small in size. Do i have to code the plaginn for each browser diffrently. Please advice Thanks

            P Offline
            P Offline
            Pete OHanlon
            wrote on last edited by
            #5

            kibromg wrote:

            Do i have to code the plaginn for each browser diffrently.

            No. Try this[^] topic to find links and issues related to Real problems in Firefox.

            Deja View - the feeling that you've seen this post before.

            M 1 Reply Last reply
            0
            • P Pete OHanlon

              kibromg wrote:

              Do i have to code the plaginn for each browser diffrently.

              No. Try this[^] topic to find links and issues related to Real problems in Firefox.

              Deja View - the feeling that you've seen this post before.

              M Offline
              M Offline
              Michael Sync
              wrote on last edited by
              #6

              Pete O`Hanlon wrote:

              No.

              Why no? We need to install "Realplayer" plugin for Firefox, isn't it?

              Pete O`Hanlon wrote:

              Try this[^] topic to find links and issues related to Real problems in Firefox.

              Sorry. I can't access this page from here. it's blocked.. I will take a look when I get back home..

              Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) "Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups