www.webdeveloper.com
Results 1 to 3 of 3

Thread: userAgent.extra

  1. #1
    Join Date
    Mar 2010
    Posts
    2

    userAgent.extra

    Hi all, I'm trying to set window.navigator.userAgent.extra.slackware to 'slackware' but I just get an error:

    Uncaught TypeError: Cannot set property 'slackware' of undefined

    What do I need to do to add .extra.slackware and set it?

  2. #2
    Join Date
    Feb 2010
    Posts
    73
    there is no such property in object userAgent

  3. #3
    Join Date
    Mar 2010
    Posts
    2
    In firefox it is possible to make this work by creating an entry in about:config. This is for the linuxquestions.org website to make an icon appear showing your distro.

    Is it possible to create this property in javascript?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles