Hacker News new | past | comments | ask | show | jobs | submit login

  Upgrade browser

  Apologies, ifttt requires a spiffy new browser to work
  all its magic correctly. Your current browser isn't
  compatible.
I'm using Iceweasel 3.6.13 which is modern enough I think.

Someone has been using browser sniffing incorrectly. For the record my UserAgent is:

  Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.13) Gecko/20101210 Firefox/3.0.6 (like Firefox/3.6.13) FirePHP/0.5
If you notice I enabled the option to not send Iceweasel in the useragent since it was causing problems.



Are you sure that this is a problem with the UserAgent? You don't happen to use NoScript and the site just doesn't degrade with a useful message?


I do have NoScript, so I turned it off, but it still happened, so that's not the problem.

Are you the author of the site? You shouldn't be sniffing browsers anyway, I see you are using jQuery. Use jQuery.support instead.


Not the author, just curious/interested. And I agree with your last two sentences..


jQuery.support is deprecated, use Modernizr instead.


Modernizr might be interesting, but jQuery.support is not depreciated. Perhaps you are thinking of jQuery.browser which is.


Deprecated is the correct word.


My apologies, will get the browser sniffing code fix right away!


It does not work as of right now.

Don't fix the code - get rid of it. You should not be sniffing browsers anyway, there are too many unusual cases.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: