> In this case you are fixing a bug that happens to appear in one > browser, but why limit the fix to only that browser? What if another > browser based on Safari comes out but has a different user agent > string and isn't recognized by jQuery? Wouldn't you still want the bug > to be fixed? What harm would it cause to leave out the browser check?
Why fix something that isn't broken? You can play the hypothetical both ways without satisfaction. What if another browser comes out that breaks when this fix is applied? It's a pragmatic solution to a problem that exists today. Mike