Jump to menu

Vote up?

  1. If you’re using jQuery in your pages, you can use the “.browser” method of the jQuery object:

    if ($.browser.safari) { /* … */ }
    if ($.browser.opera) { /* … */ }

    That’s it!